Skip to content

Commit

Permalink
Merge pull request #422 from malinovsku/master
Browse files Browse the repository at this point in the history
Добавлена Яндекс Станция Миди как cucumber для регулировки яркости экрана
  • Loading branch information
AlexxIT authored Dec 16, 2023
2 parents a6350a3 + 500283a commit 0e2a551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yandex_station/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async def response(self, card: dict, request_id: str):
)

async def _set_brightness(self, value: str):
if self.device_platform not in ("yandexstation_2", "yandexmini_2"):
if self.device_platform not in ("yandexstation_2", "yandexmini_2", "cucumber"):
_LOGGER.warning("Поддерживаются только станции с экраном")
return

Expand Down

0 comments on commit 0e2a551

Please sign in to comment.