diff --git a/custom_components/googlewifi/__init__.py b/custom_components/googlewifi/__init__.py index db36323..5c4e69f 100644 --- a/custom_components/googlewifi/__init__.py +++ b/custom_components/googlewifi/__init__.py @@ -290,6 +290,7 @@ def icon(self): @property def device_state_attributes(self): """Return the attributes.""" + self._attrs["system"] = self._system_id return self._attrs @property diff --git a/custom_components/googlewifi/const.py b/custom_components/googlewifi/const.py index 17dbbf1..2576990 100644 --- a/custom_components/googlewifi/const.py +++ b/custom_components/googlewifi/const.py @@ -16,7 +16,7 @@ ATTR_MODEL = "model" ATTR_SW_VERSION = "sw_version" ATTR_CONNECTIONS = "connections" -POLLING_INTERVAL = 3 +POLLING_INTERVAL = 30 REFRESH_TOKEN = "refresh_token" DEV_MANUFACTURER = "Google" DEV_CLIENT_MODEL = "Connected Client"