Send alerts via IFTTT_NOTIFY event

This commit is contained in:
CCOSTAN 2016-11-28 19:38:17 +00:00
parent 04c4ee8a3f
commit bbf93ac132
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -47,6 +47,10 @@
- platform: sun
event: sunset
offset: '+01:00:00'
- platform: state
entity_id: group.family
state: not_home
for: 00:05:00
condition:
- condition: sun