I’m using webcore to activate a series of processes for different modes (e.g. when mode changes to “home” activate Lifx scene #1, set temp to 22 degrees, turn on cabinet lights, etc.). I’d like it to activate a different Lifx Scene depending on time of day.
Right now, I have it set up so that “if mode changes to home and time is between A and B, activate scene #1, and do everything else” and “if mode changes to home and time is between B and C, activate scene #2 and do everything else”, and “if mode changes to home and time is between C and D, activate scene #3 and do everything else”.
It seems so redundant, is there a way to isolate the LIFX Scene part of the piston, and have it be conditional on the time instead of having to repeat the whole thing multiple times?