fsaris / home-assistant-awox

AwoX mesh light integration for Home Assistant
MIT License
83 stars 23 forks source link

Blocking issue reported by HA #114

Open bjornbak opened 3 months ago

bjornbak commented 3 months ago

HA reports this reporting issue:

[homeassistant.util.loop] Detected blocking call to sleep inside the event loop by custom integration 'awox' at custom_components/awox/awox_mesh.py, line 382: devices = await DeviceScanner.async_find_devices(hass=self.hass, scan_timeout=20) (offender: /usr/local/lib/python3.12/site-packages/ptyprocess/ptyprocess.py, line 403: time.sleep(self.delayafterclose)), please create a bug report at https://github.com/fsaris/home-assistant-awox/issues