Sensor Question.

I purchased two Sensors to turn on and off the lights in my bathroom.
I have one sensor by my bathroom sink, when triggered it will turn on the lights, when not triggered it turns off the lights.

I purchased another one by my shower area because the one by the sink could not detect when someone was in the shower and would shut off the lights.

Is there a way that I can sync up both Sensors so that it will know when someone is in the sink area or the shower area.

Basically if one is triggered it will trigger the other one.

I don’t think would work acceptably using direct association. You would likely get the light cycling as you move between the sensors.

The best way would be to use PLEG logic to combine the triggers and also have some delay before the light goes off. See PLEG Basics for an introduction.