I’m going to chalk it up to ST weirdness, even though we know that ever happens.
So let’s say it is SmartLighting hosing things. How about instead of using SmartLighting, turning the light on and off with either an automation or outside ST like webCore, just like you did for the notification? This really sounds like a ST issue.