summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/api/Binding.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/api/Binding.qml b/app/api/Binding.qml
index 2d88087..d62bc6b 100644
--- a/app/api/Binding.qml
+++ b/app/api/Binding.qml
@@ -76,7 +76,7 @@ WebSocket {
root.statusString = "Bad return value, binding probably not installed"
break
case MessageId.event:
- if (json[1] == "hvac/language")
+ if (json[1] === "hvac/language")
console.log("HVAC event received: ",json[2])
root.language = json[2].data
root.statusString = "Language changed to "+language