diff --git a/automation/device_status.yaml b/automation/device_status.yaml index a6c63779..e2009f56 100755 --- a/automation/device_status.yaml +++ b/automation/device_status.yaml @@ -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 }}"