Send alerts via IFTTT_NOTIFY event

pull/76/head
CCOSTAN 9 years ago
parent 04c4ee8a3f
commit bbf93ac132

@ -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 }}"}

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.