Hello I command my Heaters mode with an Input_select like this
when the select is changed, an automation trigger a shell command wich send a radio command to the heater.
This radio order is litterally, the R12 or R11 or R10, which is decoded by the receiver.
I would like to have some labels insted of R10… how can I still pass R10, R11 or R12 to the shell but have some frindly user labels in my input_select?
here is my conf:
input_select:
radia_cuisine:
name: Radiateur cuisine
options:
- "R12"
- "R11"
- "R10"
icon: mdi:target
shell_command:
set_radia_cuisine: '/usr/bin/python3 /home/homeassistant/testSerial.py {{ states.input_select.radia_cuisine.state }}'
#automation
- alias: Set Thermostat Mode
trigger:
platform: state
entity_id: input_select.radia_cuisine
action:
service: shell_command.set_radia_cuisine