Adding garage door automations

This commit is contained in:
Jeffrey Stone 2017-02-03 14:16:38 -05:00
parent a3ee1e7323
commit 10533ebe93
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,16 @@
alias: "Close Garage at Nine"
trigger:
platform: time
hours: 21
minutes: 00
seconds: 00
condition:
condition: state
entity_id: cover.garage_door
state: "open"
action:
- service: cover.close_cover
entity_id: cover.garage_door
- service: notify.notify
data:
message: "HA: Closing Garage Door"

View File

@ -0,0 +1,20 @@
alias: "Close Garage if we leave"
trigger:
- platform: state
entity_id: group.family
state: "not home"
- platform: state
entity_id: cover.garage_door
state: "open"
condition:
- condition: state
entity_id: cover.garage_door
state: "open"
- condition: state
entity_id: group.family
state: "not home"
action:
- service: notify.notify
data:
title: "No one home, Garage Open"
- service: cover.close_cover