I picked up a few wireless tags recently, and Iām impressed with the accuracy and logging.
Since thereās no HE port yet, Iām using the ST community integration with hubconnect to get sensor data into HE.
But the way the ST smartapp seems to be reporting temperature, itās ignoring any decimal points. Itās not even rounding, so 75.9 degrees looks like 75 degrees to ST.
I donāt know anything about groovy or other programming languages, but it seems like these lines of code are related?
def getTemperature(value) {
def celsius = value
if(getTemperatureScale() == "C"){
return celsius
} else {
return celsiusToFahrenheit(celsius) as Integer
}
Does anyone know if it will always show an integer in the ST app, even though the tags can report much more precise values than that? Or is there a way to change the smartapp code to allow the tagās decimal place readings to be shown?