Skip to content

Commit

Permalink
Add midi station support for brightness control
Browse files Browse the repository at this point in the history
  • Loading branch information
malinovsku committed Dec 16, 2023
1 parent a6350a3 commit 500283a
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 500283a

Please sign in to comment.