Closed rosch100 closed 4 years ago
This should be fixed with the current version with the updated pywizlight . Please update and test again.
See #15
Just updated to the current implementation. Now it handles the exception, but still reports an error:
2020-05-09 10:52:53 ERROR (MainThread) [pywizlight.bulb] [wizlight 192.168.253.47, connid 38740040b2caf0] Failed to do UDP call(s) to wiz light
I still think it's better to only report a warning (however, I'm not sure about the suggested behaviour in the HA development guidelines).
Jep, it should be improved and the state should also be reported as "unavailable" to the HA update pool. But for now it looks little bit better :)
Currently, when a light is not connected to the WLAN and thus found, the following error is logged:
I suggest to change that to a warning, since it is expected behaviour, when the light is not connected to the network.