Skip to content

Help with automation logic

Help with automation logic

We hope that a good experienced soul can help me. I have a holiday switch for the homebridge. I’d like to get some lights to come on when we’re gone, but only if it’s dark and go out pretty late at night. Using some of the homekit applications, I know I can make automations more functional. Questions: 1. Is it better to set all the desired lights in one scene and then call the scene or control the lights individually? How about creating a holiday “group” rather than a scene and starting the “group”? 2. Should I have a separate start-up and then shutdown automation … or use a “final event” option? 3. how do I deal with the situation I might leave at any time (and set the dummy switch), but I just want the lights to come on at, say, sunset? If the sunset has passed and I turn on the fictitious switch, will the automation start that day? or are you waiting for the next day? 4. How do the times before and after work? e.g. is 01.00 after 21.00? Is it 05.00? is it 1 p.m. when something is no longer before or after? 5. Do I even need a start event if I use a condition (for example, the dummy switch set manually to start)?