Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не добавляется медиа плеер из УДЯ в HA #431

Open
samplec0de opened this issue Jan 6, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@samplec0de
Copy link

Привет! Раньше работало, можно было пробросить из умного дома яндекса в HA телек (подключен через IR Broadlink). Сейчас выдает ошибку.

Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:368
Integration: Медиа плеер (documentation, issues)
First occurred: 21:00:51 (1 occurrences)
Last logged: 21:00:51

Error while setting up yandex_station platform for media_player
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1094, in capability_attributes
    source_list := self.source_list
                   ^^^^^^^^^^^^^^^^
  File "/config/custom_components/yandex_station/media_player.py", line 1172, in source_list
    return list(self._sources.keys())
                ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'keys'
@samplec0de samplec0de changed the title Не добавляется телевизор из УДЯ в HA Не добавляется медиа плеер из УДЯ в HA Jan 6, 2024
@AlexxIT AlexxIT added the bug Something isn't working label Jan 14, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 14, 2024

Нужно проверить в последнем релизе. Если есть проблемы - приложить диагностику устройства из ХА
https://github.com/AlexxIT/YandexStation/releases/tag/v3.13.0

@iEBPO
Copy link

iEBPO commented Jan 18, 2024

У меня заработало после обновления.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants