I have water pipes in the ground bit too close to surface so I have electric heating in the pipes (just in case
![Smile :)](./images/smilies/icon_smile.gif)
Last few days have been quite chilly (-20...-25 celsius) and ground temperature has been dropping close to zero (normally around +4 celsius). I have trigger to start heating when ground temp sensorValue becomes less than 0.5 celsius which triggered this morning when temp dropped to 0.4. But immediately when turned the heating on, the OFF trigger (sensorValue becomes greater than 0.5) got triggered too.
Well, I suspected that the sensor value has risen and was something like 0.51 but it only reports with .1 precision . So I changed OFF trigger to greater than 1 celsius but it didnt matter, it got triggered too. Then 1.1 and now it seems to work fine.
![Razz :P](./images/smilies/icon_razz.gif)
So it seems that there might be some rounding issue with device state triggers when dealing with sensor values and decimals. Or what do you think Matt & Jay?
![Question :?:](./images/smilies/icon_question.gif)