I´m new one here, and I want to help from you with change color of bulb in time.
I need after turn on the light, that bulb will 60 second shining with red color and after that will change the color to normal light with 1700K. But only between 6-9 am.
I want to do that for my daughter.
Thank you for help .
I try to do my code, but is not working.
#change color after turn on the light between 6-9 am for 60 second and then change to another color.
id: '1644351825077'
alias: Nová automatizace
description: ''
trigger:
- platform: device
type: turned_on
device_id: cdf2dc283ebf670d0579f05a016cb693
entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
domain: light
condition:
- condition: time
after: '06:00'
before: '09:00'
action:
- service: light.toggle
data:
color_name: red
brightness_pct: 41
transition: 60
target:
device_id: cdf2dc283ebf670d0579f05a016cb693
entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
- service: light.toggle
data:
kelvin: 1700
brightness_pct: 80
target:
device_id: cdf2dc283ebf670d0579f05a016cb693
entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
mode: single