Closed juergjue closed 4 months ago
Please try the latest beta. It looks good on my side, but I can't try to control lights, since I don't have any in homee.
I had the same problem (using Warema dimmable lights) - with 2.9.1-beta it's working fine. Thanks for the prompt fix!
Closed with #55
Type of problem
Version
2.9.0
Detailed description
After updating to version 2.9.0 dimmable lights are now unavailable
Error log
(Hope the short log is enough)
Logger: homeassistant.components.light Source: helpers/entity_platform.py:360 Integration: Light (documentation, issues) First occurred: 19:20:20 (8 occurrences) Last logged: 21:05:08
Error while setting up homee platform for light Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/homee/light.py", line 108, in async_setup_entry devices.append(HomeeLight(node, light_set, index, config_entry)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/homee/light.py", line 158, in init self._supported_features = get_light_features(self) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/homee/light.py", line 43, in get_light_features features |= ColorMode.BRIGHTNESS TypeError: unsupported operand type(s) for |=: 'int' and 'ColorMode'