I have a lighting automation in Smart Lighting that turns on a light when a particular door is open. But it is set to only do so if another switch, which I use for nighttime, is on. It has been working fine.
All of a sudden it is ignoring the night time switch. I have checked and the night time switch is off. I have edited the automation in Smart Lights, etc. But it still messes up and turns the light on whenever the door is opened. No matter what the night time switch is.