This commit is contained in:
Florian Brinker
2020-07-12 02:06:15 +02:00
orang tua 12eea82c8f
melakukan 984fc55b20
21 mengubah file dengan 848 tambahan dan 64 penghapusan

Melihat File

@@ -212,21 +212,21 @@ input_boolean:
# Automations #######################################################
automation:
- id: "landroid_status_notify"
alias: "Landroid Status Notification"
initial_state: true
trigger:
- platform: state
entity_id: sensor.landroid_hans_dieter_status
condition:
- condition: template
value_template: "{{ trigger.to_state.state != trigger.from_state.state }}"
action:
- service: persistent_notification.create
data_template:
title: Lanroid Status
message: "{{ trigger.from_state.state }} -> {{ trigger.to_state.state }} - {{ states('sensor.date_time') }}"
# - id: "landroid_status_notify"
# alias: "Landroid Status Notification"
# initial_state: true
# trigger:
# - platform: state
# entity_id: sensor.landroid_hans_dieter_status
# condition:
# - condition: template
# value_template: "{{ trigger.to_state.state != trigger.from_state.state }}"
# action:
# - service: persistent_notification.create
# data_template:
# title: Landroid Status
# message: "{{ trigger.from_state.state }} -> {{ trigger.to_state.state }} - {{ states('sensor.date_time') }}"
#
- id: "landroid_error_notify"
alias: "Landroid Error Notification"
initial_state: true
@@ -239,7 +239,7 @@ automation:
action:
- service: persistent_notification.create
data_template:
title: Lanroid Status
title: Landroid Status
message: "{{ trigger.from_state.state }} -> {{ trigger.to_state.state }} - {{ states('sensor.date_time') }}"
# Scripts ###########################################################