How to disable a motion sensor so my lights will stay on in an automation

Maybe have a look at:

1 Like