HADASHBOARD publishing an MQTT message

I have a custom android device that listens for a MQTT message. Once that message is received by the device, it publishes another MQTT message with a sensor value. is it possible to have a button that would publish a MQTT message from HADashboard?

if you setup a script in HA, you can use the script widget.