The “normal” heating icon has the steps “on, off, 0, 20, 40, 60, 80 and 100”. as one can see here. Therefore 18 is nil or off. There’s another post you should keep an eye on.
So if you want to have other steps for your icon, you have to create your own stepped icon.
Example-Snapshot of a Sitemap
and the code:
Frame label="Heizkörpersteuerung" icon="heating"
{
//Image url="http://192.168.178.76:8080/icon/heating1.svg" // Test with local images via http from the icon(s)-folder
Group item=gRtIstI
Group item=gRtIstA label="Garage/Dachboden" valuecolor=[>=30="fuchsia",>=25="red",>=18="orange",>=8="green",>=4="teal",>=1="blue",<1="silver"]
labelcolor=[>=30="fuchsia",>=25="red",>=18="orange",>=8="green",>=4="teal",>=1="blue",<1="silver"]
// Group item=gRtSoll
Setpoint item=radiator_valve_01_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_01_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_08_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_08_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_04_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_04_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_03_Set minValue=12.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_03_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_05_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_05_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_08_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_08_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
Setpoint item=radiator_valve_07_Set minValue=16.0 maxValue=25.0 step=0.5
Selection item=radiator_valve_07_Mode mappings=["ON"="ON", "OFF"="OFF", "COMFORT"="COMFORT", "ECO"="ECO", "BOOST"="BOOST", "WINDOW_OPEN"="Fenster offen"] icon="heating2"
} // Ende "Heizkörpersteuerung"
.items
Number:Temperature radiator_valve_01_Set "Solltemperatur Büro[%.1f %unit%]" <heating1> (gRFritz_01,gRtSoll) ["Setpoint"] { channel="avmfritz:Comet_DECT:7590:119601003400:set_temp",listWidget="oh-stepper-item" [step=0.5, min=6, max=24], widget="oh-stepper-card" [step=0.5, min=6, max=24]}
String radiator_valve_01_Mode "Heizkörper Büro Modus [%s]" <heating2> (gRFritz_01) ["Setpoint"] { channel="avmfritz:Comet_DECT:7590:119601003400:radiator_mode" }
As one can see, I used two “custom-made” icons (heating1, heating2), based on the original, but using other steps, as in the link above.
Attached you’ll find my definition of the heating-icons. Heating1 is separated in steps and heating2 is separated in functions.
As you see there’s nothing to configure in the item, but in the icon-type.
heating1-30.zip.txt (57.4 KB)