Hi - I'm setting up a button control for some lights. I have one button available for the desired actions. I'd like the button to toggle the smart bulb group on and off - which is easy of course. However, when it turns them on, I'd also like it to set a scene that sets the colors on the bulbs. I realize I can have multiple actions associated with a button press - but:
If do these actions in this order:
Toggle lights
Set Scene
The lights will always end up on, as the scene will turn them on.
If I do this order:
Set Scene
Toggle lights
They'll always go off.
What I want is to have the Scene command conditional on them being on already - but the button controller appears to use conditions for the entire set of actions - not for individual ones.
Is there a better way to do this?