otaviojr / node-red-contrib-smartthings

Allows you to control your devices and get their status using NodeRed
MIT License
32 stars 16 forks source link

Inconsistency on temperature reporting #14

Closed chacques closed 4 years ago

chacques commented 4 years ago

Hi,

There is inconsistency on temperature reports between normal update and forced update.

I am using latest release (0.15).

Normal update reports temperature as float, but forced update reports temperature as string. I think float would be preferred format in both cases.

Device normal report: {"deviceId":"xxx","deviceType":"temperature","name":"Smoke Sensor Downstairs","value":23.3,"unit":"C"}

Forced update: {"deviceId":"xxx","deviceType":"temperature","name":"Smoke Sensor Downstairs","value":"23.3","unit":"C"}

Kind regards, Juha

otaviojr commented 4 years ago

fixed on 0.0.16

chacques commented 4 years ago

fixed on 0.0.16

Works now. Thanks :)