homebridge-kasa-python 2.2.8 → 2.2.9
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 +3 -0
- package/package.json +1 -1
package/dist/python/kasaApi.py
CHANGED
|
@@ -47,6 +47,9 @@ async def discover_devices(username=None, password=None):
|
|
|
47
47
|
tasks.append(update_device_info(ip, dev))
|
|
48
48
|
else:
|
|
49
49
|
app.logger.debug(f'Device at {ip} does not have a device_type: {dev}')
|
|
50
|
+
except KeyError as e:
|
|
51
|
+
app.logger.debug(f'Device at {ip} is missing key: {str(e)}')
|
|
52
|
+
continue
|
|
50
53
|
except Exception as e:
|
|
51
54
|
app.logger.error(f'Error processing device at {ip}: {str(e)}')
|
|
52
55
|
app.logger.error(f'Traceback: {traceback.format_exc()}')
|
package/package.json
CHANGED