Adding garage door automations
This commit is contained in:
parent
a3ee1e7323
commit
10533ebe93
|
@ -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"
|
|
@ -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
|
Loading…
Reference in New Issue