"Dropdown" helpers

So I’ve just started playing with enums (aka dropdown helpers) and observe the following:

  • In the UI for specifying a service call to set a state, the states aren’t offered as a list for you to select - you have to remember what they’re all called and type them in, getting the spelling right

  • I can’t see how to specify a different icon for each state

  • I can’t see how to control which colour is used for each state in a history graph.

Am I just failing to find things, or going about it the wrong way, or are these features that don’t exist?

You are right in a way that these are not working as you expected :slight_smile:

Service are somehow defined at the initial load times, so it might be hard to show dynamic options, at least i was not able to do when developing couple of custom integrations

1 Like

Try using css theme vars for this entity - either defined in a custom theme or by card-mod.
Check Docs for Themes, a part related to css variables.

Read docs about a template input select entity, they seem to have a template-supporting icon.

1 Like