Delay lights on after motion tripped

Currently the way it works is that I detect motion, there’s a delay, lights turn on and stay on for about 7 mins, then they go off. It’s working fine, but I’d like to increase the delay of lights on to 45 seconds.

Now, for some reason, I am unsure of why this is even working in the first place because I can’t see where I have set the lights to turn on after a few seconds.

[code]Schedules:
Name: TimerGarage
On Type: Self Retrigger
Random On Delay: None
Off After Type: Interval
Off Time: 00:07:00
Off Days:
Random Off Delay: 00:00:30

Conditions:
StartFakeLightsOnTimer
!LightOn and FrontYardMotionTripped and (!LightOn; FrontYardMotionTripped > 10) and !TimerGarage

TurnFakeLightsOn
(LightOn and FrontYardMotionTripped and (LightOn; FrontYardMotionTripped)) or StartFakeLightsOnTimer

TurnFakeLightsOff
LightOn and !TimerGarage and (LightOn; !TimerGarage) and (!LightOn; LightOn > 10)

Actions:
Action: StartFakeLightsOnTimer
Device Actions:
Immediate
Device Action Arguments
Program Logic Event Generator StartTimer timerName=TimerGarage intervalTime=

Action: TurnFakeLightsOn
Device Actions:
Immediate
Device Action Arguments
Garage Outside Light SetTarget newTargetValue=1

Action: TurnFakeLightsOff
Device Actions:
Immediate
Device Action Arguments
Garage Outside Light SetTarget newTargetValue=0

[/code]

I thought there was something similar in the forum about a bathroom fan with essentially the same logic. If anyone knows where I can find that, let me know.