Skip to content

Commit

Permalink
Merge pull request #569 from glebsterx/patch-3
Browse files Browse the repository at this point in the history
Add Lite2, TV Station Basic, Hub
  • Loading branch information
AlexxIT authored Oct 31, 2024
2 parents e18b3b6 + 1433eb7 commit 5629d9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion custom_components/yandex_station/core/yandex_station.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@
"yandexmidi": ["yandex:station-2", "Яндекс", "Станция 2 (2022)"], # zigbee
"cucumber": ["yandex:station-midi", "Яндекс", "Станция Миди (2023)"], # zigbee
"chiron": ["yandex:station-duo-max", "Яндекс", "Станция Дуо Макс (2023)"], # zigbee
"plum": ["yandex:station-lite-2", "Яндекс", "Станция Лайт 2 (2024)"],
# платформа Яндекс.ТВ (без облачного управления!)
"yandexmodule": ["yandex:module", "Яндекс", "Модуль (2019)"],
"yandexmodule_2": ["yandex:module-2", "Яндекс", "Модуль 2 (2021)"],
"yandex_tv": ["mdi:television-classic", "Unknown", "ТВ с Алисой"],
# ТВ с Алисой
"goya": ["mdi:television-classic", "Яндекс", "ТВ (2022)"],
"magritte": ["mdi:television-classic", "Яндекс", "ТВ Станция (2023)"],
"monet": ["mdi:television-classic", "Яндекс", "ТВ Станция Бейсик (2024)"],
# колонки НЕ Яндекса
"lightcomm": ["yandex:dexp-smartbox", "DEXP", "Smartbox"],
"elari_a98": ["yandex:elari-smartbeat", "Elari", "SmartBeat"],
Expand All @@ -114,6 +116,8 @@
"jbl_link_portable": ["yandex:jbl-link-portable", "JBL", "Link Portable"],
# экран с Алисой
"quinglong": ["yandex:display-xiaomi", "Xiaomi", "Smart Display 10R X10G (2023)"],
# не колонки
"saturn": ["yandex:hub", "Яндекс", "Хаб (2023)"],
}


Expand Down Expand Up @@ -1007,7 +1011,7 @@ def __init__(self, quasar: YandexQuasar, device: dict):
self._attr_available = False
self._attr_should_poll = False

# both yandex moduls don't support music sync
# both yandex modules don't support music sync
if self.device_platform == "yandexmodule":
self.sync_sources = {}

Expand Down

0 comments on commit 5629d9d

Please sign in to comment.