Have a rule that locks a door if it's closed for 10 minutes, between the hours of 8pm and 7am. But I'm assuming how I've got it ported won't work. The 2.5 rule will lock the door at 8:10pm if I don't touch the door after 8pm. Sadly, I wish it would lock right at 8pm, but I never could get that to work. I think what I have now will ONLY lock if I close the door after 8pm...
First, if you trigger is the door closing, then you don't need to have that as a condition of the rule. You know that it's true. However, you do need to leave it in because your trigger is incorrect. You trigger should be that the contact sensor "CHANGES".
So, you only want the door to lock if it is closed between 8pm and 7am? But you also want it to lock if the time is 8pm? That's easy.
Triggers: Contact Sensor Chaning OR Time is 1950 or Reliable Lock Locking
Actions:
All the actions you have now are perfect but you need to modify the start time to be 1950 and you need to add an Else
Else
Cancel delayed actions.
I have the trigger of the lock locking to catch when you manually lock the lock so it won't bother trying again. Also, the trigger of 1950 will get the lock to lock at 2000 (after the 10 minute delay).