Fix turning off via select in harmony (#84509)
closes https://github.com/home-assistant/core/issues/84413pull/84516/head
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…
Reference in New Issue