home-assistant-configuration/scripts/security_check_garage.yaml

10 lines
230 B
YAML
Executable File

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