Update switch.py

This commit is contained in:
Benjamin Auquite 2023-04-03 01:50:52 -05:00
commit 4479761ad7

View file

@ -1891,7 +1891,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(