Lua Script or easier way?

I just want it to where when I click the “I’m Home” scene on my phone to do this"
If I click “I’m Home” and it’s past a certain time (eg. 8:30pm) then bypass these two sensors, unlock the door, and turn on these two lights
If I click “I’m Home” and it’s from this time to this time (eg. 5:00am and 8:30am) the just bypass the 2 sensors and unlock the door

any help would be nice. Thanks in advance.

Don’t return home that early in the morning… ;D

Sorry, I’m not sure this is possible with the standard Vera capabilities without Lua. At least nothing comes to mind.