cancel
Showing results for 
Search instead for 
Did you mean: 

help creating script/routine to change color of bulb throughout the day

drunkendrag0n
Community Member

Currently have a Kasa KL 135 bulb that has the ability to change colors and was hoping for a way to have a routine that sets the color of the bulb to Ivory in the morning and then as the day goes on to change colors until we reach incandescent or candlelight by bedtime. The first problem I'm facing is that this bulb won't be automated in that it turns on/off automatically, but instead will be done manually at the light switch. I have tried the following, but when I flip the switch to turn on the bulb nothing happens. Is this just not possible or am I missing something?

starters:
- type: device.state.OnOff
state: on
# [available operators: is, isNot]
is: true
device: Dining - Dining Room

actions:
- type: assistant.command.OkGoogle
okGoogle: set dining to Ivory
devices: Bedroom display - Bedroom

2 REPLIES 2

nickfromgoogle
Googler
Googler

Hey @drunkendrag0n, have you tried a different action like adjusting another device to see if your automation is starting in response to your Dining device turning on? It's also worth checking the Automation logs if you see them as part of the latest release - https://www.googlenestcommunity.com/t5/Blog/Camera-events-custom-notifications-and-more-now-availabl...

Hi @nickfromgoogle, thank you for the guidance on the logs, as well as trying a different action to test. I am able to get this working, although not without a slight delay as the device comes online from being powered on.