Representation of a pilot wire interface

Hi,

I try to enhance this integration : https://github.com/Cyr-ius/hass-cozytouch
It is about a french brand of heaters, that sells wire pilot interfaces.
There are 6 modes (comfort, comfort -1, -2, eco, … off)

In domoticz, it’s represented as a “select-option” html element.
Capture d’écran de 2021-02-28 20-53-15

In the current integration, it’s represented as a switch (on/off) and we loose options.
Is “custom panel html” the only way to handle multistate device ?