Modify a dumb-switch controlled smart light's dimming level by time of day?

I have a smart light controlled by a dumb switch in our hallway. Sengled Smart Light Bulbs 100W, Zigbee Hub Required, Soft White Smart Bulbs Work with Alexa, Google, SmartThings, Echo 4th, Echo Show 10, Echo Plus, Dimmable A19 LED Light 2700K 1500LM, E26 1 Pack - Amazon.com

During the day, I’d like the light to come on at 100%, but after sunset I’d like it to come on at 50%.

Of course, I have no control of when the switch is on or off, it spends about 95% of its time switched off.

Is there a preferred (or even possible) way to catch the light’s “powered on” event?

I’m trying to use the “Identity” transition from Unknown to any state to send a turn on command with the desired brightness (if-then based on sun above horizon), but that’s not triggering.

Any suggestions?

The mystery deepens: if I voice command the smartlight with “Hall light to 2%” or “Hall light to 100%” while the light is off, then it works. But I’m not seeing anything in the logs about that, or any of the dumb switching events.

I didn’t think switching the brightness while the light was off was working before, but obviously there’s some way to manage it.

Update:

So, it seems like the light remains in contact with the ZigBee controller for quite a while after it is switched off, like hours, but eventually it does go unavailable, and then the transition from unknown to any state does trigger an automation when the switch is switched on. Otherwise, it also receives sunup / sundown re-setting of the brightness even when the switch is off, as long as the switch hasn’t been off too long.