Change Homematic Variables in Lovelace

I’Ve got a lot of (50) Homeatic variables to control the logic of my shutters.
All this variables have several states (ON, OFF, AUTO).

I want to show and control them on the lovelace dashboard.

I’Ve got a solution with input_selected and two automations for getting the actual parameter and setting the new value with mqtt, but this is a lot of code for every variable and not really nice.

Is there an easy solution yust to put an Drop-Down on Lovelace with the options of my variables?
In node red it’s easy possible to create a dropdown and get and set the variable to homematic why not in lovelace?

Thanky

Chris

1 Like