Why does this rule throw these errors?

I've used this rule to reset GE Link and Osram Lightify bulbs and it works. I'm trying to clean up my rules and turned on logging for this rule and observed that it has been throwing errors.

I would love to know how to clean up the rule so it doesn't throw these errors.

Thanks!

This is the rule:

The errors all relate to "delayedActs", and are:

app:21842019-09-19 11:12:05.300 errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)
app:21842019-09-19 11:12:13.186 errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)
app:21842019-09-19 11:12:22.022 errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)
app:21842019-09-19 11:12:38.748 errorjava.util.NoSuchElementException: Cannot pop() an empty List on line 5607 (delayedActs)

Here's the complete log:

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:38.748 [error](http://hubitat.aiyar.net/installedapp/configure/2184)java.util.NoSuchElementException: Cannot pop() an empty List on line 5607 (delayedActs)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:38.455 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:38.396 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:38.370 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:38.343 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.251 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.242 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(100) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(100) is > 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.137 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.124 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.117 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:28.107 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(100) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(100) is <= 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:27.798 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:27.787 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:27.780 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:27.728 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.953 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.919 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.912 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.865 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.857 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.850 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.846 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(90) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(100) is > 95(T) [TRUE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.643 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:26.558 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:23.348 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:23.301 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:23.274 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(90) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(90) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:22.983 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:22.976 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:22.972 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:22.872 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:22.022 [error](http://hubitat.aiyar.net/installedapp/configure/2184)java.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.942 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.872 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.842 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.830 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.817 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.807 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(80) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(80) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:21.095 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:20.996 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.820 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.802 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.794 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(80) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(80) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.684 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.677 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.673 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.643 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.237 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.227 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.223 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.170 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.158 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.146 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:17.143 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(70) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(70) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:16.962 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:16.933 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.822 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.784 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.777 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(70) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(70) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.652 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.644 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.641 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.611 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.202 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.186 [error](http://hubitat.aiyar.net/installedapp/configure/2184)java.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.178 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.144 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.137 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.131 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:13.127 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(60) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(60) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:12.963 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:12.934 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.820 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.788 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.782 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(60) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(60) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.672 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.665 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.663 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.632 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.280 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.277 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.265 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.230 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.217 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.214 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.203 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(50) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(50) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.034 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:09.004 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.869 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.842 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.836 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(50) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(50) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.720 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.713 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.709 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.670 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.300 [error](http://hubitat.aiyar.net/installedapp/configure/2184)java.util.NoSuchElementException: Cannot pop() an empty List on line 5552 (delayedActs)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.281 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.270 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.230 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.223 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.215 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.212 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(40) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(40) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.072 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:05.040 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.921 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.886 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.880 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(40) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(40) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.751 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.745 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.742 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.712 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.345 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.342 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Resume Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.327 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.302 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Dim: Link/Lightify Reset Dimmer: 0 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.296 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: On: Tradfri - garage wall (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.289 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:10 (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.286 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: ELSE-IF (Dimmer level of Link/Lightify Reset Dimmer(30) is < 20(F) OR Dimmer level of Link/Lightify Reset Dimmer(40) is > 95(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.134 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:12:01.102 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.926 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.897 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.891 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(30) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(30) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.755 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.748 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.742 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on (skipped)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.668 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(F) [FALSE]) THEN (skipping)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.141 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:57.089 [error](http://hubitat.aiyar.net/installedapp/configure/2184)org.h2.jdbc.JdbcSQLException: Column "device_id" not found [42122-197] on line 1464 (delayedActs)

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:56.880 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Adjust: Link/Lightify Reset Dimmer by +10

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:56.845 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Delay Over: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.700 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Delay 0:00:03

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.660 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Toggle: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.653 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF (Dimmer level of Link/Lightify Reset Dimmer(20) is >= 20(T) AND Dimmer level of Link/Lightify Reset Dimmer(20) is <= 95(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.442 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Off: Tradfri - garage wall

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.434 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: END-IF

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.113 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: Pause Rules: Control: Keep zigbee outlets on

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:53.075 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Action: IF ( **NOT** any paused(T) [TRUE]) THEN

[app:2184](http://hubitat.aiyar.net/logs#app2184)2019-09-19 11:11:52.745 [info](http://hubitat.aiyar.net/installedapp/configure/2184)Control: Link/Lightify Reset Triggered

Please in the future use screenshots instead of copy/paste to show logs.

You have multiple simultaneous instances of this rule colliding with each other. The rule is being triggered during one of the delays, and that's the source of the problem. Basically, you need to prevent that from happening, and allow the existing instance to complete.

One way to accomplish that would be to set Private Boolean to false right before the main IF-THEN. And right before that add this Simple Conditional Action (both actions shown):

IF (Private Boolean false) Exit Rule
Set Private Boolean false

Then at the very end of the rule add:

Set Private Boolean true

This will stop the rule from doing anything while the previous delays are pending.

3 Likes

Sorry about that.

THANK YOU!!

Question about this. I have a 10 minute delay on my presence sensors. Could I put this before the 10 minute delay as that is likely where these are going to collide. We could come home for something go around the corner and come back...within that 10 minutes. The first portion of the rules happen in the first 10 seconds so only the delay and the actions after collide.

Also how could I set this up so the first one cancels so that if this does occur the 10 minute clock restarts...

It would probably be easier to suggest something if you showed a screenshot of the rule you have now. But in general, yes, you can cancel any delay (and all actions after it, assuming it's the standalone "Delay" action we're talking about) if you use one of the two methods of doing so. Alternatively, you can use a "Wait," and note that all waits (and again anything after them) get cancelled any time a rule re-triggers; thus, "Wait for event: elapsed time" is similar to a "Delay" but with free cancellation--possibly saving some clicks if you were effectively going to cancel it on re-trigger anyway.

1 Like

This was exactly what i needed thank you!!!

1 Like