I have a Number item that may take one of three values:
0: “0ff” , 1: “WW” 3: “WW + heat”
In BasicUI that would look like this:
Switch item=Vito_Betriebsmodus label=“Zustand [%s]” mappings=[0=“Aus”, 1=“WW”, 2=“WW+Heizen”, 66=“Party-sofort Heizen”]
What would I have to do in order to get this with the MainUI?
I tried this:
Number Vito_ManualMode “Vito_ManualMode” (gHeating) [“switchable”,“HVAC”] {
channel=“http:url:vitowifi:Channel_Vito_ManualMode” , expire=“15m”,
stateDescription=""[
pattern="%d%%",
min=“0”,
max=“2”,
step=“1”,
options=“0=OFF, 1=WW, 3=WW+Heat”
],
widget=“oh-slider-card”,
listWidget=“oh-slider-item”,
cellWidget=“oh-slider-cell”
}
That gave me a 0-100% slider. What I wanted was three buttons or a drop down menu or similar. Or a slider with only three states