Send me an ifttt_notify alert if the Garage is left open!

This commit is contained in:
CCOSTAN
2016-11-28 19:31:57 +00:00
parent e2743700a6
commit f83757bd22
5 changed files with 29 additions and 3 deletions

View File

@@ -26,4 +26,4 @@
- sensor.garadget_large
action:
service: ifttt.trigger
data_template: {"event":"device_status", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}
data_template: {"event":"ifttt_notify", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}