at
Size: a a a
at
O
PV
at
PV
at
ДЦ
noise_allowed:
value_template: >-
{% set x = states('sensor.time') %}
{% set hour = now().strftime("%H") | int %}
{{ states('binary_sensor.workday_sensor') == 'on' and ( ( hour >= 9 and hour < 13 ) or ( hour >= 15 and hour < 19) ) }}
icon_template: >
{% if is_state('binary_sensor.noise_allowed','on') %}
mdi:volume-high
{% else %}
mdi:volume-off
{% endif %}
IB
noise_allowed:
value_template: >-
{% set x = states('sensor.time') %}
{% set hour = now().strftime("%H") | int %}
{{ states('binary_sensor.workday_sensor') == 'on' and ( ( hour >= 9 and hour < 13 ) or ( hour >= 15 and hour < 19) ) }}
icon_template: >
{% if is_state('binary_sensor.noise_allowed','on') %}
mdi:volume-high
{% else %}
mdi:volume-off
{% endif %}
A
noise_allowed:
value_template: >-
{% set x = states('sensor.time') %}
{% set hour = now().strftime("%H") | int %}
{{ states('binary_sensor.workday_sensor') == 'on' and ( ( hour >= 9 and hour < 13 ) or ( hour >= 15 and hour < 19) ) }}
icon_template: >
{% if is_state('binary_sensor.noise_allowed','on') %}
mdi:volume-high
{% else %}
mdi:volume-off
{% endif %}
IB
ДЦ
A
IB
A
ДЦ
ДЦ
IB
A
A