I’m trying to sync it to where I can control the smart bulbs in a room with both a switch and Siri/Apple Home. I’ve currently got it automated to where this mostly works, but if I toggle the lights on then back off it will get confused and start behaving inconsistently.
Inovelli has a setting where you can make the switch never unhook the light circuit, and it just toggles the switch’s status for integrations.
Structure:
1: Automation to match switch to Phillips Hue
2: Automation (2, one on and one off) to make switch control Phillips Hue
I’m not sure exactly how automations operate but I think that my issue is that when the “match Phillips hue” (1) automation runs, it then triggers automation 2. Do automations work like this? Is there a flag I can set to prevent this if so? Thanks…
Edit: I also tried repeat move on the code shown and it seemed slightly more stable but that could have been complete random chance