Skip to content

Commit 9695653

Browse files
committed
* (Apollon77) prevent sensor value error sin log
1 parent dcfe732 commit 9695653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ class Digitalstrom extends utils.Adapter {
439439
this.log.info('INVALID Device Sensor update');
440440
return;
441441
}
442-
this.setState(sourceDeviceId, data.properties.sensorValueFloat, true);
442+
this.setState(sourceDeviceId, parseFloat(data.properties.sensorValueFloat), true);
443443
});
444444

445445
this.dss.on('deviceBinaryInputEvent', data => {

0 commit comments

Comments
 (0)