MQTT Discovery for Text Box component

Hi,

I’m using MQTT to register my project (and its entities) with HA as per the documentation. So things like Number sliders, toggles, etc. are working fine.

But I can’t find a way of adding an text box control, to let the user send an arbitrary string. I’ve seen text inputs before (I think on media players with text-to-speech support), but can’t see a way of implementing one myself.

Can anyone advise?

Thanks in advance!

Hi again,

Is there really no way to do this? For the meantime, I’ve had to abuse an alarm panel code entry box just to send a name to my device. If works but is extremely goofy. Surely there is a better way?

For future reference, this has now been added to HA >=2022.12: MQTT Text - Home Assistant