Skip to content

Commit

Permalink
fix(config): override supported sensor scales for HELTUN HE-ZW-THERM-FL2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Apr 2, 2024
1 parent 4229045 commit 3da0a87
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion packages/config/config/devices/0x0344/he-zw-therm-fl2.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,5 +629,22 @@
"maxValue": 370,
"defaultValue": 180
}
]
],
"compat": {
"overrideQueries": {
// The response to the supported scales query is off by one bit: https://github.com/zwave-js/node-zwave-js/issues/6680
"Multilevel Sensor": [
{
"method": "getSupportedScales",
"matchArgs": [3], // Illuminance
"result": [
1 // Lux
],
"persistValues": {
"supportedScales(3)": [1]
}
}
]
}
}
}

0 comments on commit 3da0a87

Please sign in to comment.