homebridge-kasa-python 2.5.3 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/python/kasaApi.py +2 -1
- package/package.json +1 -1
package/dist/python/kasaApi.py
CHANGED
|
@@ -83,7 +83,8 @@ async def discover_devices(username=None, password=None, additional_broadcasts=N
|
|
|
83
83
|
|
|
84
84
|
for ip, dev in devices.items():
|
|
85
85
|
try:
|
|
86
|
-
|
|
86
|
+
dev_type = dev.sys_info.get("mic_type") or dev.sys_info.get("type")
|
|
87
|
+
if hasattr(dev, 'device_type') and (dev_type and dev_type not in UNSUPPORTED_TYPES):
|
|
87
88
|
tasks.append(update_device_info(ip, dev))
|
|
88
89
|
except KeyError:
|
|
89
90
|
continue
|
package/package.json
CHANGED