Update switch.py

This commit is contained in:
Benjamin Auquite 2023-04-03 01:52:34 -05:00
commit 5524c75b42

View file

@ -1898,7 +1898,7 @@ class TurnOnOffListener:
light,
context.id,
)
self.manual_control[light] = True
self.mark_as_manual_control(light)
_fire_manual_control_event(switch, light, context, is_async=False)
return True
_LOGGER.debug(