Smart bulb reporting state after power loss

Just noticed that my smart bulb is still reporting on/off status even when powered off from a dumb switch. Maybe its always done that but Very cool!

I dont know if its the bulb sending out 1 final signal after detecting power loss (unlikely) or the hub has some sort of logic now that checks for the connection of the bulb?

It probably has something to do with Device Health, Ive never had it on in the past but it has magically enabled itself recently.