Overview
This automation closes the garage doors at 8:30 PM if one is open and confirms via iPhone or HomePod.
YAML Code
[code lang=”yaml”]
alias: Garage Door Auto-Close
trigger:
- platform: time
at: “20:30:00”
condition: - condition: state
entity_id: cover.garage_door
state: “open”
action: - service: cover.close_cover
target:
entity_id: cover.garage_door
mode: single
[/code]Notes
- Uses
cover.garage_doorentity. - Optionally add a TTS notification through Sonos.
- Full source on GitHub →.
- Uses
