homebridge-kasa-python 2.2.7 → 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.
@@ -47,9 +47,13 @@ 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()}')
56
+ continue
53
57
  except Exception as e:
54
58
  app.logger.error(f'Error iterating through devices: {str(e)}')
55
59
  app.logger.error(f'Traceback: {traceback.format_exc()}')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge Kasa Python",
3
3
  "name": "homebridge-kasa-python",
4
- "version": "2.2.7",
4
+ "version": "2.2.9",
5
5
  "description": "Plugin that uses Python-Kasa API to communicate with Kasa Devices.",
6
6
  "license": "MIT",
7
7
  "type": "module",