I have a Sage doorbell sensor that works as expected. When the sensor button is triggered by the physical doorbell button it sends a signal as 'button 1'.
I'm trying to create a rule or rules to change the color of light bulbs in the house when the senor is triggered. The rule works for a single bulb if its the only rule that triggers with the push of the doorbell. The doorbell is pressed, the light turns on (or remains on), turns green for a few seconds, and then returns to the original on/off state.
If I try to use a bulb group with two color lights (same brand/model) if either light is on, both lights return to the 'on' state at the end. This is not optimal as the two lights are rarely on at the same time. I've even tried two separate rules, one for each light triggered by the doorbell, and I get the same results as if I had them grouped.
I'm wondering how I can get this rule to work with two lights at the same time even if their starting states are different.
The rule I'm using that works with a single bulb called 'Livingroom Lamp RGB'.
IF (Livingroom Lamp RGB(off) is on(F) [FALSE]) THEN
Set wasOn to true
Set wasOn to false
On: Livingroom Lamp RGB --> delayed: 0:00:00.5
Color Temperature: Livingroom Lamp RGB: 6500: 100
Capture: Livingroom Lamp RGB
Set color: Livingroom Lamp RGB ->Green ->Level: 100
Restore: Livingroom Lamp RGB
IF (( Variable wasOn(true) = false(F)
) [FALSE]) THEN
Off: Livingroom Lamp RGB