Xiaomi Zigbee lights not reporting state immediately

I do not have Xiaomi Zigbee but had ikea Tranfri bulb. The issue seem to be similar that when the power is cut the buld will remain in their last state. Here is a dicussion on a workaround automation for tradfri bulb to query and the bulb to get the bulb to report the correct state such as “unavailable”. Check if Ikea tradfri lights are unavailable?