I typically do not use restrictions for lighting automations, unless there is another automation that will make sure to handle the scenario where the the restriction takes effect in the middle of the original automation....
Instead, I typically at the time range as a Condition, so the rule will be evaluated at the start time and also at the end time. It will also allow the Delay with Cancel to be executed instead of restricted.
If all of the sensors were already INACTIVE at 11pm, the rule would never run. The Rule requires an event to occur. In your original rule, if all sensors were already inactive at 11pm (when the restriction was lifted), nothing would ever happen.
By adding the two times as a Condition, instead of a Restriction, the Rule will be evaluated at both 11pm and 5am, causing the Actions to fire accordingly. Also, any time any of the sensors changes state, the rule will be evaluated.
Don't worry so much about logging. The day you need it to figure out what happened is the day you'll understand why it's there. This logging does not affect the performance of your hub.
@bravenel
I'll tag this on here but can start a new thread if required.
I had a 'turn on at sunset' rule not fire tonight.
This is in the events for the rule when it fired OK.
As you can see sunset becomes true then the rule becomes true and the light turns on.
Tonight I had this in the event log for the rule.
As you can see sunset is true is received but nothing for the rule becoming true.
The light turning on is when I opened and clicked done on the rule.
Here is the rule.
Any thoughts?
EDIT 2:
Thinking about it my hub played silly beggars this morning. Got up to use the bathroom and the hall light didn't turn off for around 10 minutes. Then it turned off. Should have been 2 minutes. It was around sunrise.
The hub could have been having a kip!!!!
Hall light turned on. Sunrise was 05:46 today. All starting to tie in.
So now that I have two things it’s looking at, the 11pm would kick it off even though the sensors are all in a inactive state if I decide to go to bed early?
Exactly. At 11pm, the rule will be evaluated, and if all motion sensors are inactive, the True Action will be executed. After 11pm, but before 5am, if any of the motion sensors goes inactive, the rule will also be evaluated.