Well...I had a weird issue with Room Lighting for this room last night. I think this caused the problem. Normally, it wouldn't be an issue, but the stars aligned.
So, basically, the table in RL doesn't update until the groups flip their switch state to "on" which you can see in the logs doesn't happen until after those CT entries. So, there's a delay between the activation event and the instance going "active."
Normally, that's not an issue, but I managed to hit an edge case last night. The RL instance deactivation event happened while the status was waiting to be updated from the lights. That caused the lights to not turn off on their own. So order was:
- Motion event to activate RL instance.
- Commands go out to light groups.
- Lights come on, but switch state doesn't update.
- Motion goes inactive. Since the table isn't updated from the lights, the "off" action is skipped.
- The switch states updates and the RL instance goes "active."