how to use triggers and time for execute a scene

Hi, hope someone can help with this, I’ve a zwave door look Kwikset 99100-012, so I wish every time I unlock the deadbolt if the time is at least 7pm some lights on the home turn on automatically, how I can do this? I’ve tried to do it with triggers, but every time I unlock the deadbolt the lights turn on even if the time is 11am.

thanks.

Download:

[ul][li]Day Or Night plugin[/li]
[li]Program Logic Event Generator plugin (PLEG)[/li]
[li]Program Logic Core plug[/ul]

Setup the PLEG with the following triggers (using the Triggers Tab)
Door = When Door is Unlocked
Night = When Day Night indicates night

In Settings create a Condition:
LightsOn = Night AND Door

Modify your existing Scene to Trigger from the PLEG where condition satisified is LightsOn

it worksss!!! thansk so much!!! ;D