I have a Nutone switch controlling a light. If I turn the light on manually by the switch Hubitat doesn't seem to know its on or off. If I do a refresh then it updates.
So I set a rule to do a refresh every 30 seconds. It ran fine all day yesterday. Today it is not running. Here is a screen shot of the rule.
Rule 3.0. Looked at events. The last event was the last time it executed last night before shutting off at 11 pm. No errors or other info. Also checked logs, same thing.
It acts like it's not getting the signal to restart in the morning. There's really no reason I can't do it 24 hours a day, but just thought it would save resources by not doing it at night when I don't care anyway.
The best thing would be if the switch would report it's status without having to do this. But I don't know how or why.
I can hit run rule and it will execute 1 time. But won't repeat.
One thing: That repetition should never have stopped. The way you have the rule setup, it starts on True, but nothing ever stops it. I realize that didn't happen, but you would need Stop on Truth Change for it to stop at 11:00 PM.
But, there is a bug that makes it stop on truth change no matter what.
Yes, you are of course right. I do have "stop on truth change" enabled.
I am definitely having a 'senior moment' today. Disregard all above, it is 100% obvious to me now why the two sets of rules are different, and mine works.
This episode has had me digging into the Repeat Actions workings for the past couple of hours. One conclusion I have come to is that having multiple Repeat Actions is fraught with potential problems. Consequently, I've put in place a limit of only having a single Repeat Actions per action section.
Rule 3.0 already did not allow nested Repeat Actions. At execution time, multiple Repeat Actions could be very much like nested ones, namely, more than one running at once. The code doesn't support managing this as it stands now. Hence, only one allowed.