home-assistant-configuration/scripts/garage_close.yaml

8 lines
162 B
YAML
Executable File

close_garage:
sequence:
- condition: state
entity_id: cover.garage_door
state: "open"
- service: cover.close_cover
entity_id: cover.garage_door