My basement is 9 Hue bulbs. I have a ST motion sensor on the stairs to detect motion and subsequently turn on the basement lights. Easy. This is Rule A.
However, going back upstairs, I want to disable that rule so it doesn't turn the lights back on. Using webcore, this seemed to work fine. I had a piston turn off for 60 seconds.
In Hubitat, I'm using "Enable/Disable with private Boolean" for the rule. If it is enabled, and I detect motion, the basement lights turn on, and the rule turns itself off by setting the private boolean to false.
When you turn off the basement lights (via Hue dimmer switch, I have no direct access to that button press I believe?), I'm using the state of 1 bulb. If it turns off, I delay the action for 60 seconds, and then proceed to set Rule A's private boolean to true.
My issue is the detection of the state of that 1 bulb. It seems to be variable for some reason. Sometimes it's near instant, sometimes it's 30-45 seconds later.
Alternatively, I think this might be easier to do if I replaced my Hue dimmer switch with a pico switch (or my stair lights with Lutron switches, which I plan on doing anyway)?