Closes #85 - Adding in zwave Sensor for Back door.
parent
ad60c8dda4
commit
bfcc1cf21e
@ -0,0 +1,17 @@
|
|||||||
|
######################################################################
|
||||||
|
## Garage Status Announcements
|
||||||
|
######################################################################
|
||||||
|
- alias: 'Door Opened/Closed'
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- sensor.backdoor
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
entity_id: input_boolean.alert_mode
|
||||||
|
|
||||||
|
- service: script.Voice_notify
|
||||||
|
data_template:
|
||||||
|
value1: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
doors:
|
||||||
|
name: Doors
|
||||||
|
entities:
|
||||||
|
- sensor.backdoor
|
||||||
Loading…
Reference in new issue