djtimca / hagooglewifi

Home Assistant integration for Google Wifi systems.
Apache License 2.0
79 stars 26 forks source link

NoneType object is not iterable #61

Closed kreene1987 closed 2 years ago

kreene1987 commented 2 years ago

Logs: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/googlewifi/init.py", line 171, in _async_update_data system_data = await self.api.get_systems() File "/usr/local/lib/python3.9/site-packages/googlewifi/init.py", line 191, in get_systems return await self.structure_systems(response) File "/usr/local/lib/python3.9/site-packages/googlewifi/init.py", line 289, in structure_systems for this_station in system_metrics.get("stationMetrics"): TypeError: 'NoneType' object is not iterable