diff --git a/source/_cookbook/automation_flashing_lights.markdown b/source/_cookbook/automation_flashing_lights.markdown index 5a55323eac1..38b66bcdd88 100644 --- a/source/_cookbook/automation_flashing_lights.markdown +++ b/source/_cookbook/automation_flashing_lights.markdown @@ -54,7 +54,7 @@ automation: condition: condition: state entity_id: switch.AlmSnd1 - to: 'off' + state: 'off' action: service: script.turn_off entity_id: script.flash_room1