mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix turning off via select in harmony (#84509)
closes https://github.com/home-assistant/core/issues/84413
This commit is contained in:
parent
070aa714a0
commit
e4c610af62
@ -67,6 +67,7 @@ class HarmonyActivitySelect(HarmonyEntity, SelectEntity):
|
||||
"""Change the current activity."""
|
||||
if option == TRANSLATABLE_POWER_OFF:
|
||||
await self._data.async_start_activity(ACTIVITY_POWER_OFF)
|
||||
return
|
||||
await self._data.async_start_activity(option)
|
||||
|
||||
async def async_added_to_hass(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user