ДЦ
Size: a a a
ДЦ
AX
at
ДЦ
AS
AS
AS
V
IB
script:
turn_on_with_delay:
sequence:
- service: script.turn_off
data:
entity_id: script.turn_off_with_delay
- service: switch.turn_on
data:
entity_id: switch.fake_heater_1
- delay:
seconds: 1
- service: switch.turn_on
data:
entity_id: switch.fake_heater_2
ДЦ
ДЦ
n
V
ДЦ
- service: light.turn_on
entity_id: light.led_strip_hb
data_template:
brightness_pct: >
{% if states('binary_sensor.workday_sensor')=='off' and states('sensor.time').split(':').0|int < 10%}
1
{% else %}
100
{%endif%}
kelvin: >
{% if states('binary_sensor.workday_sensor')=='off' and states('sensor.time').split(':').0|int < 10%}
3000
{% else %}
5000
{%endif%}
V
- service: light.turn_on
entity_id: light.led_strip_hb
data_template:
brightness_pct: >
{% if states('binary_sensor.workday_sensor')=='off' and states('sensor.time').split(':').0|int < 10%}
1
{% else %}
100
{%endif%}
kelvin: >
{% if states('binary_sensor.workday_sensor')=='off' and states('sensor.time').split(':').0|int < 10%}
3000
{% else %}
5000
{%endif%}
ДЦ
V
V