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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue