This turns off my security lights and disarms my CCTV at sunrise. However, what I would like is to NOT disarm the CCTV when input_boolean.vacation_mode is ON, ie I am on vacation.
How can I use an if/else loop within the action? I am confused from the various advice on the forums.
don’t use @Odianosen25’s suggestion. Whenever the if statement {% if states.input_boolean.vacation_mode.state != "on" %} resolves to false, you will get an error in home assistant.