Device status does not update

Hello guys, I'm having a problem with this driver in the Status update.
The driver itself is working in the way that I want, sending the commands correctly, however, even if I turn it on, the status does not update to the other applications (Alexa, Homebridge), and on the dashboard it appears as unknow status
I wanted to ask please if anyone can help because I tried to correct it in all the ways that I know but it didn't work