Add both name and value for the input_select integration options

Currently, the input_select integration only lets you specify item names that display in the drop-down menu. For my use case (ViCare integration), I would like to choose a heating mode from the input_select box and have an automation apply that selected mode to ViCare. But the modes are programmatic enumerations, and exposing them on the UI is not very user friendly. That’s why I think it would be perfect to be able to specify for each input_select option a name and a value. This way you could have a user-friendly option like DHW and heating in the list, and an underlying programmatic value dhwAndHeating that would be sent by the automation to the ViCare integration. I would make the value setting optional so when no set, it would be equivalent to name.

1 Like