Hi Guys,
currently i have a slider for my Thermostat to regulate the desired Temperature (item of type number)
But the Window in which we usually move the desired Temp. is quite small,
So i decided to write a own Widget for the Thermostat.
I would like to start with to Buttons + and - .+ Should increase the Temp 0.5 and - should decrease the Temp about 0.5.
I thought this may work:
Notice the “+” in front of itemValue. I can’t remember why it was needed, but it seems to be essential. Also for future compatibility itemState should be used instead of itemValue.
The result for the preview i do at first is now working fine, but i can’t get the button to change the temperature.
What is it i am not seeing at the moment? :-/
Hi Yannick,
what 4 little signs can make a difference
Now i have a working situation. The changes when i hit the buttons are not really that fast as my current slider is doing it, but to change the temp in 0,5 steps this is perfect.