Since last update I can see all sensors but not the switch of light, version of home assistant is 2024.2.1
Log
<!-- To enable debug logs check this https://www.home-assistant.io/components/logger/ -->
```text
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1325, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 989, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1110, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1049, in __async_calculate_state
attr.update(self.state_attributes or {})
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 1129, in state_attributes
self.__validate_color_mode(color_mode, legacy_supported_color_modes, effect)
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 1093, in __validate_color_mode
effect_color_modes = supported_color_modes | {ColorMode.ONOFF}
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Version of the custom_component
Version 2.2.4
Description
Since last update I can see all sensors but not the switch of light, version of home assistant is 2024.2.1
Log