mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -48,12 +48,12 @@ automation:
|
||||
value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data_template:
|
||||
data:
|
||||
title: Low Battery
|
||||
message: "{{ states('sensor.low_battery') }}"
|
||||
notification_id: low-battery-alert
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Low battery levels: {{ states('sensor.low_battery') }}"
|
||||
who: 'carlo'
|
||||
apns_id: 'information'
|
||||
|
Reference in New Issue
Block a user