Removing automation for the time being to find something better
This commit is contained in:
parent
aa1ddb79b6
commit
bab9e2db42
|
@ -78,26 +78,26 @@ sensor:
|
||||||
value_template: "{{ value }}"
|
value_template: "{{ value }}"
|
||||||
json_attributes_topic: "zwave2mqtt/garage_motion/128/1/0"
|
json_attributes_topic: "zwave2mqtt/garage_motion/128/1/0"
|
||||||
|
|
||||||
automation:
|
# automation:
|
||||||
|
|
||||||
- alias: 'Battery Alert'
|
# - alias: 'Battery Alert'
|
||||||
initial_state: true
|
# initial_state: true
|
||||||
trigger:
|
# trigger:
|
||||||
- platform: time
|
# - platform: time
|
||||||
at: '10:00:00'
|
# at: '10:00:00'
|
||||||
- platform: time
|
# - platform: time
|
||||||
at: '18:00:00'
|
# at: '18:00:00'
|
||||||
condition:
|
# condition:
|
||||||
condition: template
|
# condition: template
|
||||||
value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
# value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
||||||
action:
|
# action:
|
||||||
- service: persistent_notification.create
|
# - service: persistent_notification.create
|
||||||
data_template:
|
# data_template:
|
||||||
title: Low Battery
|
# title: Low Battery
|
||||||
message: "{{ states('sensor.low_battery') }}"
|
# message: "{{ states('sensor.low_battery') }}"
|
||||||
notification_id: low-battery-alert
|
# notification_id: low-battery-alert
|
||||||
- service: script.text_notify
|
# - service: script.text_notify
|
||||||
data_template:
|
# data_template:
|
||||||
title: "HA Issue"
|
# title: "HA Issue"
|
||||||
message: "Low battery levels: {{ states('sensor.low_battery') }}"
|
# message: "Low battery levels: {{ states('sensor.low_battery') }}"
|
||||||
who: 'jeff'
|
# who: 'jeff'
|
Loading…
Reference in New Issue