I just installed four Thirdreality RGB bulbs on my porch. I want them to come on to a specified color at sunset (orange, purple, etc), at 10:00PM change to white, then off at sunrise. I’ve looked in automations and I have an option for startup color temp but it wants a value that doesn’t accept standard 255,255,255 color. What is the best option?
action: light.turn_on
data:
rgb_color:
- 255
- 255
- 255
target:
entity_id: your light
Thanks! Working prefect now.
alias: "Outside: Front Porch RGB Lights"
description: ""
triggers:
- trigger: sun
event: sunset
offset: 0
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 0
- 100
brightness_pct: 100
target:
entity_id:
- light.rgb_bulb_1
- light.rgb_bulb_2
- light.rgb_bulb_3
- light.rgb_bulb_4
- wait_for_trigger:
- trigger: time
at: "22:30:00"
- action: light.turn_on
metadata: {}
data:
color_temp_kelvin: 4001
brightness_pct: 75
transition: 5
target:
entity_id:
- light.rgb_bulb_1
- light.rgb_bulb_2
- light.rgb_bulb_3
- light.rgb_bulb_4
- wait_for_trigger:
- trigger: sun
event: sunrise
offset: 0
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id:
- light.rgb_bulb_1
- light.rgb_bulb_2
- light.rgb_bulb_3
- light.rgb_bulb_4
mode: single