Milight lamps not updating status - MQTT broker

Hello everyone,

I have a question if the following is possible. I use MiLight spots and to let them communicate with the home assistant I made a MiLight hub based on an ESP8266 see: GitHub - sidoh/esp8266_milight_hub: Replacement for a Milight/LimitlessLED hub hosted on an ESP8266 this works based on MQTT.

Now the status is not updated in home assistant as soon as I turn off the lights via the wall switch. Is there a solution for this?

Just turned off the lights via the wall switch… but in home assistant the status is still on
2022-12-08 11_15_31-Overzicht – Home Assistant

Thank you very much