I am working on creating a script to handle a bug with my new Zigbee bulbs until I can run Zigbee2MQTT (i.e. I get a new Zigbee stick) and can update the firmware on them. However, I cannot get it to work, and get an error in the logs. I'm sure its simple and I'm just missing it. Help is appreciated.
script:
master_bedroom:
initial_state: True
trigger:
platform: time
at: input_datetime.bedtime
conditions:
- condition: state
entity_id: 'group.bedtimephones'
state: 'home'
sequence:
- alias: "Turn on Shaun's nightstand"
action: light.turn_on
target:
entity_id: light.shaun_nightstand_2
- alias: "Wait 100ms"
- delay:
milliseconds: 100
- alias: "Set color and brightness of Shaun's nightstand"
action: light.turn_on
target:
entity_id: light.shaun_nightstand_2
data:
brightness_pct: 50
rgb_color:
- 0
- 0
- 0
- alias: "Wait 100ms"
- delay:
milliseconds: 100
- alias: "Set color and brightness of Shaun's nightstand"
action: light.turn_on
target:
entity_id: light.shaun_nightstand_2
data:
brightness_pct: 50
rgb_color:
- 0
- 0
- 0```