Turn light on with motion sensor and keep it on if door sensor is off

I made a blueprint for this situation but it also is for a fan. You can probably look it over and figure this out.

1 Like