mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +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_large
|
||||
action:
|
||||
service: ifttt.trigger
|
||||
data_template: {"event":"ifttt_notify", "value1":"{{ trigger.entity_id.split('.')[1] }} is ", "value2":"{{ trigger.to_state.state }}"}
|
||||
service: script.turn_on
|
||||
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