LoRaWAN technology / MQTT Switch Timeout

Hello,
I would like to request a feature be added. I am using home assistant to collect and control IOT data using LoRaWAN technologies which uses mqtt on the backend.

Because of the way this technology works, getting the state of a device after sending a control command can take a few seconds depending on the class of the device.

I would like to be able to set a timeout response threshold for the state topic when defining my mqtt device. Currently, if I change the state of a switch that is controlled by a Lorawan connection, the GUI will show the switch change, then the switch goes back to the original state, then once the state topic updates (a few seconds later) the switch moves back to the correct state.

I understand there is an optimistic method, but I truly don’t like how that appears in the GUI. It would be nice to be able to set a timeout for mqtt devices, especially with the evolution of IOT devices.

Thank you!