I have two Kasa KL135 bulbs as my two garage lights. I'm working on a Halloween automation which alternates their color from purple to orange. The only way I can get the bulbs to turn orange is to disable the purple commands as shown. I added the delays thinking that might make a difference. With the two purple toggle commands enabled, I never see the bulbs change to orange. Maybe the bulbs need more time to respond?
Look at the preference "Default Transition Time". For what you want, it should be zero.
If that does not work, look in the Kasa Phone application and see if there is any delay setting. Also try setting the color manually in that app to verify they work.
I changed the transition time for both bulb preferences to 0. When I ran the rule it did:
Purple
Off
Purple
Off
No orange.
I checked the Kasa app and there is no transition setting. I thought this would be easy! ![]()
-Thanks
UPDATE: I tried using default Kasa colors red and green, and experienced even more bizarre behavior - At one point one bulb was read and the other was off. It was actually weirder than that. One thought that occurred to me is that maybe it's a latency issue with these Wi-Fi based devices. To test this theory, I ordered a 4 pack of THIRDREALITY Zigbee color bulbs. I'll let you know if there is any difference. If nothing else I'm gaining a couple of Zigbee repeaters.
Any error or log messages for the bulbs?????
No I should have mentioned that there were no errors in the logs. But you reminded me to enable debug logging, which I did, but still no indication of an issue.
Something in your rule - I think.
If you created a rule in rule machine that isn’t behaving as you intended, then the first thing you should do is review the log entries for that rule.
Looking at the rule logs, for some unknown reason rule machine is issuing an "Action: Off" periodically. Not sure why it's doing that, any ideas?
In the screenshots of the rule you posted above, the last Action line (shown) is "Off: Garage Light 2, Garage Light 1"
Oh that's right.
Looks like you need to rewrite your rule.
I’m not sure what exactly the “toggle color” action in rule machine is supposed to do.
“Set color,” which is a different action, has always worked for me when I have incorporated it into rules for RGB lighting.
Using "Set Color" worked! Thanks for your help with this.



