If I set the precision of some values in the config to 0:
the WUnderground-Device shows everything correctly:
But if I then write out the value of eg the max temp to a variable, there is a decimal place:
Is that a bug or make I a mistake?
Nine
Is that a bug or make I a mistake?
x = indigo.devices[1258163860].states["foreHigh1"]
y = indigo.devices[1258163860].states["foreHigh1.ui"]
indigo.server.log(unicode(x))
indigo.server.log(unicode(y))
Jun 11, 2016, 1:53:22 PM
Script 93.0
Script 93°
Users browsing this forum: No registered users and 29 guests