I’m probably just being lazy but I’ve had a quick look to no avail. I am capable of writing these but I was wondering if either something already exists, or someone who knows the syntax off the top of their head could knock these up in a few mins.
Here’s some pseudo code for what I want to achieve…
On Motion Detect Only trigger if > 5 mins since last trigger send push notification If Home mode Change mood lighting to Green and turn on 100%, then revert back to previous state after 1 min Flash decking lights on/off 2Hz then revert back to previous state after 30 sec If dark set front light to 100% brighness, revert back to 40% after 5 min endif Else night/away mode if dark set front light to 100% brightness and turn on, turn off after 5 min if away mode wait 5 seconds, turn on hallway light 100%, turn off after 5 mins wait 10 seconds, turn on diningroom light 100%, turn off after 5 mins endif endif endif
Thanks in advance!