jaroschek / home-assistant-eaton-epdu

Custom Home Assistant integration for Eaton ePDU devices and sensors through SNMP.
2 stars 1 forks source link

Failed setup, will retry: There is no current event loop in thread 'SyncWorker_x'. #8

Open Responseless opened 4 months ago

Responseless commented 4 months ago

Intermittently fails to load integration with the error: Failed setup, will retry: There is no current event loop in thread 'SyncWorker_x'.

Seems to be exacerbated by the use of other SNMP sensors in configuration.yaml. Other snmp sensors can be for other devices entirely and they still conflict. If the snmp sensors are commented out then the integration loads correctly after a restart of home assistant.

Version: 1.0.2 HA Version: 2024.6.4 / OS 12.4

jaroschek commented 1 month ago

@Responseless I have updated the integration to use the same version of pysnmp as the snmp component of Home Assistant.

You could try the new release 1.1.0.