This does not go to MQTT. this goes back to button. And yes it turns button to disabled state for purpose. As if you switch the device (light), then there must be actual switching to happen and if actual state from device comes back then by this actual state it will be made button usable again.
Still you must figure out, how to send out correct commands via MQTT to your light