YandexStation icon indicating copy to clipboard operation
YandexStation copied to clipboard

Не работает изменение яркости экрана Яндекс Станции Макс

Open Sairond opened this issue 2 years ago • 0 comments

Перестало работать изменение яркости экрана Яндекс Станции Макс

  - service: media_player.play_media
    target:
      entity_id: media_player.yandex_station_max
    data:
      media_content_type: brightness
      media_content_id: 0

Лог ошибки:

  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/config/custom_components/yandex_station/media_player.py", line 839, in async_play_media
    await self._set_brightness(media_id)
  File "/config/custom_components/yandex_station/media_player.py", line 349, in _set_brightness
    device_config['led']['brightness']['auto'] = False
KeyError: 'led'

Yandex.Station - 3.10.0 Яндекс Станция Макс - Версия программного обеспечения: 1.117.1.13.1321554281.20220526.78 Home Assistant Core 2022.6.1 Home Assistant Supervisor 2022.05.3 Home Assistant OS 8.1

Sairond avatar Jun 03 '22 13:06 Sairond