Switch or other for multiple choices

Hi,
I’ve created virtual switches like :

- platform: template
  switches:
      radiateur_salon:
        friendly_name: "Radiateur salon"
        unique_id: switch_pilotage_radiateur_salon
        value_template: "{{ is_state('select.0xf4b3b1fffedd9a3c_pilot_wire_mode', 'comfort') }}"
        turn_on:
            service: select.select_option
            data:
                option: comfort
            target:
                entity_id: 
                    - select.0xf4b3b1fffedd9a3c_pilot_wire_mode
        turn_off:
            service: select.select_option
            data:
                option: eco
            target:
                entity_id: 
                    - select.0xf4b3b1fffedd9a3c_pilot_wire_mode
        icon_template: "{% if is_state('sensor.0xf4b3b1fffedd9a3c_pilot_wire_mode', 'comfort') %}mdi:radiator-disabled{% else %}mdi:radiator{% endif %}"
- platform: template
  switches:
      radiateur_bureau:
        friendly_name: "Radiateur bureau"
        unique_id: switch_pilotage_radiateur_bureau
        value_template: "{{ is_state('select.radiateur_bureau_pilot_wire_mode', 'comfort') }}"
        turn_on:
            service: select.select_option
            data:
                option: comfort
            target:
                entity_id: 
                    - select.radiateur_bureau_pilot_wire_mode
        turn_off:
            service: select.select_option
            data:
                option: eco
            target:
                entity_id: 
                    - select.radiateur_bureau_pilot_wire_mode
        icon_template: "{% if is_state('sensor.radiateur_bureau_pilot_wire_mode', 'comfort') %}mdi:radiator-disabled{% else %}mdi:radiator{% endif %}"
- platform: template
  switches:
      radiateur_masterbedroom:
        friendly_name: "Radiateur masterbedroom"
        unique_id: switch_pilotage_radiateur_masterbedroom
        value_template: "{{ is_state('select.0x90395efffe2763c2_pilot_wire_mode', 'comfort') }}"
        turn_on:
            service: select.select_option
            data:
                option: comfort
            target:
                entity_id: 
                    - select.0x90395efffe2763c2_pilot_wire_mode
        turn_off:
            service: select.select_option
            data:
                option: eco
            target:
                entity_id: 
                    - select.0x90395efffe2763c2_pilot_wire_mode
        icon_template: "{% if is_state('sensor.0x90395efffe2763c2_pilot_wire_mode', 'comfort') %}mdi:radiator-disabled{% else %}mdi:radiator{% endif %}"
- platform: template
  switches:
      radiateur_guestbedroom:
        friendly_name: "Radiateur guestbedroom"
        unique_id: switch_pilotage_radiateur_guestbedroom
        value_template: "{{ is_state('select.0x90395efffe4b1c01_pilot_wire_mode', 'comfort') }}"
        turn_on:
            service: select.select_option
            data:
                option: comfort
            target:
                entity_id: 
                    - select.0x90395efffe4b1c01_pilot_wire_mode
        turn_off:
            service: select.select_option
            data:
                option: frost_protection
            target:
                entity_id: 
                    - select.0x90395efffe4b1c01_pilot_wire_mode
        icon_template: "{% if is_state('sensor.0x90395efffe4b1c01_pilot_wire_mode', 'comfort') %}mdi:radiator-disabled{% else %}mdi:radiator{% endif %}"

Purpose is to send order to thermostat “Versatile” to change heater mode (eco, comfort).
But with a simple switch, I only can send two different orders.
I would like to send more orders like “frost, boost, off”
Purpose is to switch off completely heater in summer, send boost mode when I came home.

Thanks

Pretty much the only way to do multiple choice is with an input select and an automation.

However it seems you already have a select entity:

Why not just use that in your dashboard?

Don’t know how do that.
It’s to use with NodOn SIN-4-FP-21 ZIGBEE 3.0 and versatile addons.

You add an entities card to your dashboard and put this select entity in it. All from the user interface. No yaml required.

select.0xf4b3b1fffedd9a3c_pilot_wire_mode

With this solution, Versatile thermostat will be unavailable.

If the select entity does not list “Versatile” as a selectable option then the integration does not support this option and you can not use it by any method. Even by creating template switches.