В какой-то момент пропадает связь с лампой и не возможно ей управлять, если удалить её и перезапустить интеграцию всё работает, но не долго.
Уровень: ОШИБКА
Регистратор: homeassistant.components.light
Источник: helpers/entity_platform.py:722
Интеграция: Освещение ([документация](https://www.home-assistant.io/integrations/light), [проблемы](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+light%22))
Зафиксировано первый раз: 13:21:19 (1 случай)
Зафиксировано последний раз: 13:21:19
Error adding entity light.embi_lampa for domain light with platform yandex_station
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 722, in _async_add_entities
await self._async_add_entity(
entity, False, entity_registry, config_subentry_id
)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1080, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1446, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1213, in _async_write_ha_state
) = self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1121, in __async_calculate_state
if state_attributes := self.state_attributes:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 1056, in state_attributes
self.__validate_color_mode(color_mode, supported_color_modes, effect)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 999, in __validate_color_mode
raise HomeAssistantError(
...<2 lines>...
)
homeassistant.exceptions.HomeAssistantError: light.embi_lampa (<class 'custom_components.yandex_station.light.YandexLight'>) set to unsupported color mode brightness, expected one of {<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>}
Способ установки
Home Assistant OS
Core
2026.7.1
Supervisor
2026.06.2
Operating System
18.1
Frontend
20260624.4
В какой-то момент пропадает связь с лампой и не возможно ей управлять, если удалить её и перезапустить интеграцию всё работает, но не долго.
Вот ошибка из лога