State not keeping updated on change


On my custom component, I turn on/off lights and switchs. When I turn on of off the entity, the state return to previous state in 1-2 sec, then get the right state when the next poll is done by home assistant:

Currently on the stable release, I do simple turn_on:

I tried to make async_turn_on, and ask an update, but the result is the same:

Is there a solution to force the state of the entity untill the next polling update ?

Thanks :slight_smile:

Up! Can someone help me :pray: