homebridge-deconz 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Deconz/Resource.js
CHANGED
@@ -1241,7 +1241,10 @@ class Resource {
|
|
1241
1241
|
/** Patch a resource corresponding to a `Thermostat` service.
|
1242
1242
|
*/
|
1243
1243
|
patchThermostat () {
|
1244
|
-
if (
|
1244
|
+
if (
|
1245
|
+
(this.manufacturer === 'Danfoss' && ['eTRV0100', 'eTRV0103'].includes(this.model)) ||
|
1246
|
+
(this.manufacturer === 'ELKO' && this.model === 'Super TR')
|
1247
|
+
) {
|
1245
1248
|
this.capabilities.heatValue = 'heat'
|
1246
1249
|
} else {
|
1247
1250
|
this.capabilities.heatValue = 'auto'
|
@@ -150,7 +150,7 @@ class Thermostat extends DeconzService.SensorsResource {
|
|
150
150
|
this.values.currentTemperature = Math.round(state.temperature / 10) / 10
|
151
151
|
}
|
152
152
|
if (state.valve != null) {
|
153
|
-
this.values.valvePosition =
|
153
|
+
this.values.valvePosition = state.valve
|
154
154
|
}
|
155
155
|
super.updateState(state)
|
156
156
|
}
|
package/package.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"ebaauw"
|
8
8
|
],
|
9
9
|
"license": "Apache-2.0",
|
10
|
-
"version": "1.0.
|
10
|
+
"version": "1.0.26",
|
11
11
|
"keywords": [
|
12
12
|
"homebridge-plugin",
|
13
13
|
"homekit",
|
@@ -27,12 +27,12 @@
|
|
27
27
|
},
|
28
28
|
"engines": {
|
29
29
|
"deCONZ": "2.28.1",
|
30
|
-
"homebridge": "^1.
|
30
|
+
"homebridge": "^1.9.0||^2.0.0-beta",
|
31
31
|
"node": "^22||^20||^18"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"hb-deconz-tools": "~2.0.
|
35
|
-
"homebridge-lib": "~7.1.
|
34
|
+
"hb-deconz-tools": "~2.0.8",
|
35
|
+
"homebridge-lib": "~7.1.4"
|
36
36
|
},
|
37
37
|
"scripts": {
|
38
38
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|