Hi,
I am having this block in an automation and just want to know if there are simpler ways to achieve the same result or if I have it done all right:
action:
- service: light.turn_on
entity_id: light.light_1
data_template:
hs_color:
- 120
- 100
brightness: 255
transition: 1
- delay: 00:00:01
- service: light.turn_on
entity_id: light.light_1
data_template:
hs_color:
- 240
- 100
brightness: 255
transition: 1
- delay: 00:00:01
- service: light.turn_on
entity_id: light.light_1
data_template:
hs_color:
- 0
- 100
brightness: 255
transition: 1
- delay: 00:00:03
- service: light.turn_on
entity_id: light.light_1
data_template:
hs_color:
- 44.941
- 100
brightness: 115
transition: 1
- service: light.turn_off
entity_id: light.light_1