Presence sensing is a right pain in the ____. PIR sensor sense movement, so as you've seen, if there isn't any, the room is assumed empty. The only way around this is to have a timer on the PIR so that it keeps the light on for a period of time. This doesn't really work too well and invariably you either pop in and out leaving the lights on and the room unoccupied or you stay still too long and the lights go off. PIR lights tend to be really bad for a sitting room where one tends to....sit for a long time. Offices get around this problem by having a large number of people, so on the law of averages, someone is always triggering the PIR. Another options is beam sensors. If you have two staggered, you can work out direction of travel and see if people are coming or going. The only probably is that people tend to place items in the way of the beam and also they can very easily mistrigger eg if you walk half way through and then turn back. I have PIR lights in the hall and that works rather well as the lights turn on as soon as I enter and since it's only a transit area I leave and the lights go off. It goes a bit wrong if I need to work in there. In theory, if I turn the lights off and on using the switch, they stay on but this feature doesn't seem to work, even though the manual says it should, probably largely due to my buying cheap-ass PIRs. I also have one in the toilet and that seems to work too, only I have to set the timer a little longer. It's a bit annoying having the light stay on after I leave but it's easier then trying to train the YL to turn it off. In the fullness of time I might add one to the bathroom too, with a flow sensor on the shower, so I can tell if people are using it.