AL
Size: a a a
AL
AL
ПК
AL
ПК
AL
AL
AL
AL
ПК
ПК
ДЦ
ДЦ
last_motion:
friendly_name: 'Last Motion'
value_template: >
{%- set sensors = [states.binary_sensor.motion_sensor_158d0001ae9f61,states.binary_sensor.motion_sensor_158d0001aea602,states.binary_sensor.motion_sensor_158d0001d5995e,states.binary_sensor.motion_sensor_158d0001e05856,states.binary_sensor.motion_sensor_158d0001e53cda,states.binary_sensor.motion_sensor_158d0001e54280,states.binary_sensor.motion_sensor_158d000224f89f,states.binary_sensor.motion_sensor_158d000236bb94,states.binary_sensor.motion_sensor_158d000236bc6d,states.binary_sensor.motion_sensor_158d0002b4729d,states.binary_sensor.motion_sensor_158d0002b482e9,states.binary_sensor.motion_sensor_158d0002b48381 ] %}
{% for sensor in sensors %}
{% if as_timestamp(sensor.last_changed) == as_timestamp(sensors | map(attribute='last_changed') | max) %}
{{ sensor.name }}
{% endif %}
{% endfor %}
last_motion_time:
friendly_name: 'Last Motion Time'
value_template: '{{ as_timestamp(states.group.motion.last_changed) | timestamp_custom("%a %d %b %H:%M") }}'
ДЦ
ПК
last_motion:
friendly_name: 'Last Motion'
value_template: >
{%- set sensors = [states.binary_sensor.motion_sensor_158d0001ae9f61,states.binary_sensor.motion_sensor_158d0001aea602,states.binary_sensor.motion_sensor_158d0001d5995e,states.binary_sensor.motion_sensor_158d0001e05856,states.binary_sensor.motion_sensor_158d0001e53cda,states.binary_sensor.motion_sensor_158d0001e54280,states.binary_sensor.motion_sensor_158d000224f89f,states.binary_sensor.motion_sensor_158d000236bb94,states.binary_sensor.motion_sensor_158d000236bc6d,states.binary_sensor.motion_sensor_158d0002b4729d,states.binary_sensor.motion_sensor_158d0002b482e9,states.binary_sensor.motion_sensor_158d0002b48381 ] %}
{% for sensor in sensors %}
{% if as_timestamp(sensor.last_changed) == as_timestamp(sensors | map(attribute='last_changed') | max) %}
{{ sensor.name }}
{% endif %}
{% endfor %}
last_motion_time:
friendly_name: 'Last Motion Time'
value_template: '{{ as_timestamp(states.group.motion.last_changed) | timestamp_custom("%a %d %b %H:%M") }}'
AL
ПК
ДЦ
ДЦ
ПК