home-assistant-configuration/scripts/security_check_garage.yaml

10 lines
230 B
YAML
Raw Normal View History

2018-07-18 17:56:30 +00:00
security_check_garage:
sequence:
- condition: state
#entity_id: sensor.garage_door_contact
entity_id: cover.garage_door
state: 'open'
- service: input_boolean.turn_on
entity_id: input_boolean.security_issue