diff --git a/custom_components/miwifi/core/luci.py b/custom_components/miwifi/core/luci.py index 2057b64..4b14b20 100644 --- a/custom_components/miwifi/core/luci.py +++ b/custom_components/miwifi/core/luci.py @@ -187,7 +187,7 @@ async def set_devices_list(self) -> None: if "list" in wifi_connect_devices: for index, device in enumerate(wifi_connect_devices["list"]): - self._signals[device["mac"]] = device["signal"] + self._signals[device["mac"]] = device["signal"] if "signal" in device else 0 force_devices[device["mac"]] = device if self.is_repeater_mode and self.is_force_load and len(force_devices) > 0: diff --git a/custom_components/miwifi/manifest.json b/custom_components/miwifi/manifest.json index b56b2cd..c0947c7 100644 --- a/custom_components/miwifi/manifest.json +++ b/custom_components/miwifi/manifest.json @@ -1,11 +1,12 @@ { "domain": "miwifi", "name": "MiWiFi", - "version": "1.3.1", + "version": "1.3.2", "documentation": "https://github.com/dmamontov/hass-miwifi", "issue_tracker": "https://github.com/dmamontov/hass-miwifi/issues", "config_flow": true, "requirements": [], "dependencies": [], - "codeowners": ["@dmamontov"] + "codeowners": ["@dmamontov"], + "iot_class": "local_polling" }