mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Updates alarm_control_panel Example (#1688)
The example was out of date using 'platform: state' in the condition, instead of 'condition: state'
This commit is contained in:
parent
a1de0cd920
commit
07ee743baa
@ -54,7 +54,7 @@ automation:
|
|||||||
entity_id: sensor.window
|
entity_id: sensor.window
|
||||||
state: 'open'
|
state: 'open'
|
||||||
condition:
|
condition:
|
||||||
- platform: state
|
- condition: state
|
||||||
entity_id: alarm_control_panel.ha_alarm
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
state: armed_away
|
state: armed_away
|
||||||
action:
|
action:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user