Night light that killes me

I have a problem that I have no clue how to solve.
I have googled and tried and failed a lot, so now I turn to the experts.

I have a motion sensor that i want to trigger a light with to turn of after some time, that part is no problem.
The problem is that i want to be able to turn the light on to keep it on until i turn it of, or say 2 hours.
And the button to the light is in the sight of the motionsensor.
That also gives me the problem that i cant turn it off whitout the sensor to be tripped, just to turn it on again.

Can some1 please help me with this.
I use PLEG 8.11

Regards.

Your on condition can be

(!Light; Motion >30)

This.will.ignore the motion if it was less than 30 seconds from when you turn it off.

Sent from my SAMSUNG-SM-G935A using Tapatalk

That works, thanks. 1 Problem less.

[quote=“RichardTSchaefer, post:2, topic:193908”]Your on condition can be

(!Light; Motion >30)

This.will.ignore the motion if it was less than 30 seconds from when you turn it off.

Sent from my SAMSUNG-SM-G935A using Tapatalk[/quote]