diff --git a/custom_components/miwifi/core/luci.py b/custom_components/miwifi/core/luci.py index 899d682..f7c6dbc 100644 --- a/custom_components/miwifi/core/luci.py +++ b/custom_components/miwifi/core/luci.py @@ -222,7 +222,7 @@ async def set_devices_list(self) -> None: else: ip = self._ip - device["connection"] = CONNECTION_RANGES[device["type"]] + device["connection"] = CONNECTION_RANGES[device["type"]] if device["type"] in CONNECTION_RANGES else "unknown" if ip not in devices_to_ip: devices_to_ip[ip] = {}