Hi everyone, I’ve been trying to create an automation for the bathroom lights for days. I’ll start by saying that everything works correctly, but I’ll explain in more detail; I placed a motion sensor in the bathroom to turn on the lights with a 10-minute timer, which isn’t enough if I have to go to the bathroom more than once. I thought about creating a parallel automation combined with an external physical button also combined with the lights to bypass the first automation (the motion sensor one), but I can’t get it to work properly. Has anyone already tried to create something similar? Thanks everyone
You don’t need a timer. Most automations of this kind send a turn on command every time movement is detected, so they stay on until movement stops.
Thank you very much for the info Jack, I am a neophyte of the domitca world with home assistant. But if I were to press the external button the sensor would work anyway, right? I ask you because I would still like to associate the button with a scene like “shower scene” for example but I fear that the sensor would make all the work useless.
You’re right, this is a classic problem with motion sensors and switches/buttons controlling the same light. The motion sensor will turn the light off even if it has been switched on by the switch/button. There are several ways of approaching it - you might have a look in the Blueprints Exchange to see whether there’s something that suits you.