I have an Insteon switch in my bathroom that controls two vanity lights, each containing a Hue bulb. I have a control page that has three buttons, HallBathMood, HallBathBright, and HallBathOff. I do not know if the switch will be on or off when I tap a button, so I need to turn on the switch and then recall the appropriate Hue scene using the Hue plugin.
Thus, for example, my HallBathMood action group is:
turn on "HallBath Switch"
[set several variables]
recall hue scene hall bath mood from the hue 3 app on iphone for the hall bath hue group
The problem is that the events are triggered in the wrong order as seen in the Event Log:
Action Group HallBath Mood
Hue Lights "Hall Bath Mood" scene from "Hue 3 app on iPhone" recalled for "Hall bath"
Sent INSTEON "HallBath Switch" on to 100
Since there is no power to the Hue lights when the Hue scene is triggered, the scene is not recalled.
How can I force Indigo to run the commands in the order they appear in the action group?