I’m really surprised the new app still doesn’t have a way to do automated lighting, only if the light is off already. Say I want motion detection to turn my light on and off. I setup an automation to turn on with motion, then turn off 30 seconds after motion stops. Problem with this is if I had my lights on manually before the motion, the automation still turns off my lights if any motion is detected. I know there is a WebCore piston that solves this, but it’s much nicer working local and the piston would bug out from time to time on me.