Conditions not being Executed after Vera Restart

I have just started out with PLEG so a real newbie. I have an office light that i want to come on when either the sensor drops below 940 or its night

This part is working correctly as i see the true statements. If i walk into the room the PIR picks me up and after the desired time it switches off

However if the Vera restarts like i change something in pleg or add a device, while the the timers are running it doesnt trigger cOfficeAutoOff it still shows false

cOfficeAutoOff i have the following tOfficeLightOn and !sOfficeTimer and (tOfficeLightOn; !sOfficeTimer) and (!tOfficeLightOn; tOfficeLightOn > 00:05:00)

As far as i can see the cOfficeAutoOff should be true and switch the lights off as tOfficeLightOn, !sOfficeTimer are true.

I copied this out of the Pleg basics. As you can see from the attachment i added repeats to cOfficeKeepOn and cOfficeAutoOff so it rechecked if any other of the conditions changed.

Can anyone see anything obvious i am doing wrong?

Thanks in advance

But:

(!tOfficeLightOn; tOfficeLightOn > 00:05:00)

Will only be true of the light was turned ON after it has been off for at least 5 minutes.
You Status report shows the light was turned off 1 minute earlier.

Hi Richard, that now makes sense.

Just starting to pick this up and i have to say this plugin is a great piece of work.

Thank you for your support