Try setting up a security scene. The idea is simple, I’m not sure if it’s possible. The idea is:
* If goodNight is enabled rather than enabling MotionSensors, otherwise disable motionSensors. If motion sensors are activated, motion is detected, turn on all the lights in the house and play the sound in the Living Room HomePod. *
Also in the hope that they can put contact sensors on the doors that switch Good night after a certain time. This way, if someone gets up in the middle of the night to let the dogs out, take water, whatever it is, another random scene takes place (stopping goodNight), then activate goodNight again when the door is closed. This does not activate the alarm.
If I can only make the motion sensors light up when goodNight is activated, then the rest is possible. I just need to know if and how I can use motion sensors like this.