Update light temperature automations

This commit is contained in:
2022-05-28 12:21:58 +03:00
parent 627cee4599
commit e2c109b820
7 changed files with 45 additions and 147 deletions
@@ -29,8 +29,8 @@ action:
before: sunset
sequence:
- service: light.turn_on
entity_id: !input light
data:
data_template:
entity_id: "{{ trigger.entity_id }}"
color_temp: !input day_temp
- conditions:
@@ -44,8 +44,8 @@ action:
after_offset: "+03:00:00"
sequence:
- service: light.turn_on
entity_id: !input light
data:
data_template:
entity_id: "{{ trigger.entity_id }}"
color_temp: !input evening_temp
- conditions:
@@ -56,6 +56,6 @@ action:
before: sunrise
sequence:
- service: light.turn_on
entity_id: !input light
data:
data_template:
entity_id: "{{ trigger.entity_id }}"
color_temp: !input night_temp
@@ -18,6 +18,6 @@ condition:
state: "on"
action:
- service: light.turn_on
entity_id: !input light
data:
data_template:
entity_id: "{{ trigger.entity_id }}"
color_temp: !input temp