When starting up Home Assistant I get many of the below errors (more than once for each light).
2020-04-24 12:14:02 ERROR (MainThread) [custom_components.wiz_light.light] No bulb type can be detected - fall back to full feature
The lights do work properly afterwards, so I'm guessing Home Assistant is trying to get the supported_features property before await self.get_bulb_type() is complete in light.py.
Perhaps move the error message to get_bulb_type() so it only triggers once failed rather than also when uninitialised?
When starting up Home Assistant I get many of the below errors (more than once for each light).
The lights do work properly afterwards, so I'm guessing Home Assistant is trying to get the
supported_features
property beforeawait self.get_bulb_type()
is complete in light.py.Perhaps move the error message to
get_bulb_type()
so it only triggers once failed rather than also when uninitialised?