Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Smart home console app should parse target temperature as float, not int

Christian Bauerfec34d41e42b
diff --git a/deployment/manager/consoles/customerA/smart-home/smart-home-climate.html b/deployment/manager/consoles/customerA/smart-home/smart-home-climate.html
index ca8be1a98..db0b02e4a 100644
--- a/deployment/manager/consoles/customerA/smart-home/smart-home-climate.html
+++ b/deployment/manager/consoles/customerA/smart-home/smart-home-climate.html
@@ -315,7 +315,7 @@
onTargetTemperatureChange(e) {
this.sendAttributeEvent(
- e.model.item.roomId, "targetTemperature", parseInt(e.target.value)
+ e.model.item.roomId, "targetTemperature", parseFloat(e.target.value)
);
}