Use the New Script to send alerts to IFTTT and Me.

pull/76/head
CCOSTAN 9 years ago
parent 5265c43b91
commit 0581f07807

@ -25,5 +25,10 @@
- sensor.garadget_small - sensor.garadget_small
- sensor.garadget_large - sensor.garadget_large
action: action:
service: ifttt.trigger service: script.turn_on
data_template: {"event":"ifttt_notify", "value1":"{{ trigger.entity_id.split('.')[1] }} is ", "value2":"{{ trigger.to_state.state }}"} entity_id: script.notify_ifttt
data_template:
variables:
value1: 'Device Status '
value2: "{{ trigger.entity_id.split('.')[1] }} is "
value3: "{{ trigger.to_state.state }}"

Loading…
Cancel
Save

Powered by TurnKey Linux.