Hello,
I have to use a switch item which I use to control a room temperature. It is a knx device and the OFF command changes the temperature by -0.5° and the ON command by +0.5° in the heating actor.
My item on the Sitemap in oh2:
Switch item=Heizung_KanalD_SolltempSteuerung mappings=[OFF="-",ON="+”]
How can I adapt the default widget in oh3 for this item? Easily spoken, I need a stepper item with the + command which sends ON and the - command which sends OFF, by pressing. Actually I use a list item which shows me a selection menu:
value: oh-list-item
config:
icon: oh:heating
action: options
title: Steuerung Solltemperatur
actionOptions: ON=“+”,OFF=“-“
actionItem: Heizung_Speicher_KanalGSolltempSteuerung
I have no idea how I can generate two buttons, one for +(ON) and the other for -(OFF).
I have no idea how to realize this and I could not find documentation for the yaml code of the widgets. Thank you for your help!