You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that we use the `ruleUID` which is a variable made available by the Helper Library to ensure that we don't overwrite on something added to the `cache` from another rule.
170
169
Also notice a line was added to `lightsOut` to delete the entry in the `cache` when the timer ran.
171
170
That will cause the rule to create a new timer the next time the rule runs.
172
171
It could be coded to reuse the Timer instead which is an exercise for the reader.
0 commit comments