IB
Size: a a a
IB
D
D
D
LI
D
М
D
В
В
КГ
В
alias: Состояние датчиков (не обновляются)
description: ''
trigger:
- platform: time_pattern
minutes: /3
condition: []
action:
- choose:
- conditions:
- condition: template
value_template: >-
{{ ((as_timestamp(now()) -
as_timestamp(states.binary_sensor.datchik_protechki.last_updated))
/ 3600) > 24 }}
sequence:
- service: notify.me
data:
message: >-
{{state_attr("binary_sensor.datchik_protechki","friendly_name") }} отвалился, похоже. Последний раз он был на связи в {{ as_timestamp(states.binary_sensor.datchik_protechki.last_updated) | timestamp_custom('%H:%M') }} часов {{ as_timestamp(states.binary_sensor.datchik_protechki.last_updated) | timestamp_custom('%d.%m.%Y') }} года
- conditions:
- condition: template
value_template: >-
{{ ((as_timestamp(now()) -
as_timestamp(states.sensor.a4c138ac4adb_temperature.last_updated))
/ 3600) > 24 }}
sequence:
- service: notify.me
data:
message: >-
{{state_attr("sensor.a4c138ac4adb_temperature","friendly_name") }} отвалился, похоже. Последний раз он был на связи в {{ as_timestamp(states.sensor.a4c138ac4adb_temperature.last_updated) | timestamp_custom('%H:%M') }} часов {{ as_timestamp(states.binary_sensor.datchik_protechki.last_updated) | timestamp_custom('%d.%m.%Y') }} года
default: []
mode: single
ЕМ
LI
ДЦ
LI
ДЦ
В
В
LI