How to combine multiple sensors into one?

Say I have multiple motion sensors, is it possible to create one virtual motion sensor that it will be set to “on” if any of motion sensors are “on”, and set to “off” if all of the motion sensors are “off”? it can be either in node-red (since I have most of automation on node-red) or home assistant.

thank you.

Try placing the motion sensors in a group. Groups will default to on if any of the devices within the group are on.

2 Likes

ah, that’s neat. thanks!