Home Assistant Garage Door Auto-Close

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_door entity.
    • Optionally add a TTS notification through Sonos.
    • Full source on GitHub →.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top