mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 19:26:57 +00:00
Use the New Script to send alerts to IFTTT and Me.
This commit is contained in:
@@ -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 }}"
|
||||||
|
Reference in New Issue
Block a user