tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
5
Gosh… I can’t resist a tiny joke here and mention that positive temperature values are sufficient if you use Degrees Kelvin (i.e., relative to Absolute Zero) …
Does the sensor return negatives? In which case it is just a datatype validation issue in the SmartApp or input method?
dont understand your joke, but before it was possible to put - in front to get -15 celcius now 0 is the lowest number possible to set up.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
7
OK.
Looks like you are using an official SmartThings “Solution SmartApp”, so please email Support@SmartThings.com.
Meanwhile, I can check around to see if there is an alternative SmartApp to use instead.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
8
It is definitely a bug in the Solution SmartApp. I confirmed that the same preference setting limitation exists on iOS and Android, but is not a problem in the Simulator.
The “number” datatype on the “preferences{ input() }” method does not allow negative values. Perhaps it did prior to some change in the UI which did not previously limit number to unsigned values, or maybe the SmartApp previously used a different datatype like “text”.
With a custom SmartApp, there are lots of ways to workaround this. Best way I can think of is to have two input fields: “number” and “sign” (where sign is an enum of “+” or “-”).