RM-Front lights error in log

Seeing an error in the log with my front lighting control rule I created. Any ideas?

Error:
app:70212021-12-17 05:07:05.568 am errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 6981 (method delayedActs)

HE Device:
Hubitat Elevation® Platform Version - 2.3.0.120
Hardware Version - Rev C-7
RM Version: 5.1

Rule:

Why do you have the 2 time betweens there when you could use 11:pm-sunrise?

RM will handle the transition? Ok. I will fix that. Thanks

If you're delay is for turning off the lights after being triggered, you need to specify for that or it is just a delay to the next instruction I believe... You might be better off with simple automations rule for this bit (note: I am NOT a rule expert)

I believe a pop() error indicates there's an issue with multiple instances of the rule conflicting with each other. Your triggers are Front Door Contact and Front Door Contact (ST-V5). Do you happen to have two contact on the same door that are trigger this rule? If so, you might want to try just one trigger and see if the error goes away.

A couple of other things here. Since your triggers are the contacts "any open" you don't need to check their condition in the IF-THEN. That's already been established by the rule triggering. You can use the IF-THEN to check for time or you can us a Required Expression. I would also recommend making your delay cancelable. There are many discussion to be found as to why and how to update your rule.

2 Likes