@homebridge-plugins/homebridge-tado 9.1.2 → 9.2.1
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/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/config.schema.json +11 -6
- package/package.json +3 -3
- package/src/accessories/heatercooler.js +15 -3
- package/src/helper/handler.js +3 -1
- package/src/tado/tado-config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# v9.2.1 - 2026-06-06
|
|
4
|
+
- Fix: HeaterCooler temperature limits are no longer overridden by an unset or zero `minValue`/`maxValue` from config (#169)
|
|
5
|
+
- Fix: `accTypeBoiler` is now hidden in the UI when `boilerTempSupport` is enabled, as temperature-controlled hot water devices are always exposed as HeaterCooler (#169)
|
|
6
|
+
|
|
7
|
+
# v9.2.0 - 2026-06-05
|
|
8
|
+
- Fix: Incorrect warning "CoolingThresholdTemperature exceeded maximum of 35" for HOT_WATER zones with `boilerTempSupport: true` (#169)
|
|
9
|
+
- Fix: Config UI: show AC-specific fields for AIR_CONDITIONING zones (#173)
|
|
10
|
+
- Update dependencies
|
|
11
|
+
|
|
3
12
|
# v9.1.2 - 2026-05-23
|
|
4
13
|
- Update dependencies due to vulnerability
|
|
5
14
|
|
package/README.md
CHANGED
|
@@ -187,7 +187,7 @@ You can also adjust the minimum temperature step ``"minStep"``, minimum temperat
|
|
|
187
187
|
"modeTimer": 30,
|
|
188
188
|
"minValue": 5,
|
|
189
189
|
"maxValue": 25,
|
|
190
|
-
"minStep":
|
|
190
|
+
"minStep": 0.5,
|
|
191
191
|
"easyMode": false,
|
|
192
192
|
"noBattery": false
|
|
193
193
|
}
|
|
@@ -265,7 +265,7 @@ You can also adjust the minimum temperature step `"minStep"`, minimum temperatur
|
|
|
265
265
|
"autoOffDelay": false,
|
|
266
266
|
"separateTemperature": false,
|
|
267
267
|
"separateHumidity": true,
|
|
268
|
-
"minStep":
|
|
268
|
+
"minStep": 1,
|
|
269
269
|
"noBattery": false
|
|
270
270
|
}
|
|
271
271
|
...
|
|
@@ -308,7 +308,7 @@ You can also adjust the minimum temperature step ``"minStep"``, minimum temperat
|
|
|
308
308
|
"modeTimer": 30,
|
|
309
309
|
"minValue": 30,
|
|
310
310
|
"maxValue": 65,
|
|
311
|
-
"minStep":
|
|
311
|
+
"minStep": 1,
|
|
312
312
|
"separateTemperature": true,
|
|
313
313
|
"boilerTempSupport": false,
|
|
314
314
|
"accTypeBoiler": "SWITCH"
|
package/config.schema.json
CHANGED
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"type": "boolean",
|
|
379
379
|
"description": "If enabled, the humidity sensor will be shown as extra accessory.",
|
|
380
380
|
"condition": {
|
|
381
|
-
"functionBody": "try { return model.homes[arrayIndices[0]].zones[arrayIndices[1]].type
|
|
381
|
+
"functionBody": "try { return ['HEATING','AIR_CONDITIONING'].includes(model.homes[arrayIndices[0]].zones[arrayIndices[1]].type) } catch(e){ return false }"
|
|
382
382
|
}
|
|
383
383
|
},
|
|
384
384
|
"minStep": {
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
"title": "Simple Target Mode",
|
|
442
442
|
"type": "boolean",
|
|
443
443
|
"condition": {
|
|
444
|
-
"functionBody": "try { return model.homes[arrayIndices[0]].zones[arrayIndices[1]].type
|
|
444
|
+
"functionBody": "try { return ['HEATING','AIR_CONDITIONING'].includes(model.homes[arrayIndices[0]].zones[arrayIndices[1]].type) } catch(e){ return false }"
|
|
445
445
|
},
|
|
446
446
|
"description": "If enabled, only 'ON | OFF' target modes are visible for the thermostat."
|
|
447
447
|
},
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
"title": "No Battery",
|
|
450
450
|
"type": "boolean",
|
|
451
451
|
"condition": {
|
|
452
|
-
"functionBody": "try { return model.homes[arrayIndices[0]].zones[arrayIndices[1]].type
|
|
452
|
+
"functionBody": "try { return ['HEATING','AIR_CONDITIONING'].includes(model.homes[arrayIndices[0]].zones[arrayIndices[1]].type) } catch(e){ return false }"
|
|
453
453
|
},
|
|
454
454
|
"description": "If enabled, the battery indicator will be removed from Apple Home."
|
|
455
455
|
},
|
|
@@ -682,7 +682,12 @@
|
|
|
682
682
|
},
|
|
683
683
|
"items": [
|
|
684
684
|
"homes[].zones[].boilerTempSupport",
|
|
685
|
-
|
|
685
|
+
{
|
|
686
|
+
"key": "homes[].zones[].accTypeBoiler",
|
|
687
|
+
"condition": {
|
|
688
|
+
"functionBody": "try { return !model.homes[arrayIndices[0]].zones[arrayIndices[1]].boilerTempSupport } catch(e){ return false }"
|
|
689
|
+
}
|
|
690
|
+
}
|
|
686
691
|
]
|
|
687
692
|
},
|
|
688
693
|
{
|
|
@@ -692,7 +697,7 @@
|
|
|
692
697
|
"expanded": false,
|
|
693
698
|
"type": "section",
|
|
694
699
|
"condition": {
|
|
695
|
-
"functionBody": "try { return model.homes[arrayIndices[0]].zones[arrayIndices[1]].type
|
|
700
|
+
"functionBody": "try { return ['HEATING','AIR_CONDITIONING'].includes(model.homes[arrayIndices[0]].zones[arrayIndices[1]].type) } catch(e){ return false }"
|
|
696
701
|
},
|
|
697
702
|
"items": [
|
|
698
703
|
"homes[].zones[].openWindowSensor",
|
|
@@ -717,7 +722,7 @@
|
|
|
717
722
|
"expanded": false,
|
|
718
723
|
"type": "section",
|
|
719
724
|
"condition": {
|
|
720
|
-
"functionBody": "try { return model.homes[arrayIndices[0]].zones[arrayIndices[1]].type
|
|
725
|
+
"functionBody": "try { return ['HEATING','AIR_CONDITIONING'].includes(model.homes[arrayIndices[0]].zones[arrayIndices[1]].type) } catch(e){ return false }"
|
|
721
726
|
},
|
|
722
727
|
"items": [
|
|
723
728
|
"homes[].zones[].delaySwitch",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homebridge-plugins/homebridge-tado",
|
|
3
|
-
"version": "9.1
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "Homebridge plugin for controlling tado° devices.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homebridge": "^1.6.0||^2.0.0-beta.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@homebridge/plugin-ui-utils": "^2.2.
|
|
36
|
+
"@homebridge/plugin-ui-utils": "^2.2.4",
|
|
37
37
|
"fakegato-history": "^0.6.7",
|
|
38
38
|
"form-data": "^4.0.5",
|
|
39
39
|
"fs-extra": "^11.3.5",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"moment": "^2.30.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "^10.4.
|
|
44
|
+
"eslint": "^10.4.1",
|
|
45
45
|
"@eslint/js": "^10.0.1",
|
|
46
46
|
"globals": "^17.6.0",
|
|
47
47
|
"prettier": "^3.8.3"
|
|
@@ -167,9 +167,21 @@ export default class HeaterCoolerAccessory {
|
|
|
167
167
|
? 25
|
|
168
168
|
: 77;
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
//only override temperature limits if config value is explicitly and correctly set
|
|
171
|
+
if (
|
|
172
|
+
this.accessory.context.config.minValue != null &&
|
|
173
|
+
this.accessory.context.config.minValue > 0 &&
|
|
174
|
+
this.accessory.context.config.minValue < maxValue
|
|
175
|
+
) {
|
|
176
|
+
minValue = this.accessory.context.config.minValue;
|
|
177
|
+
}
|
|
178
|
+
if (
|
|
179
|
+
this.accessory.context.config.maxValue != null &&
|
|
180
|
+
this.accessory.context.config.maxValue > 0 &&
|
|
181
|
+
this.accessory.context.config.maxValue > minValue
|
|
182
|
+
) {
|
|
183
|
+
maxValue = this.accessory.context.config.maxValue;
|
|
184
|
+
}
|
|
173
185
|
|
|
174
186
|
console.log('Before MINSTEP: ' + this.accessory.context.config.minStep, this.accessory.displayName);
|
|
175
187
|
|
package/src/helper/handler.js
CHANGED
|
@@ -1196,7 +1196,9 @@ export default (api, accessories, config, tado, telegram) => {
|
|
|
1196
1196
|
} else {
|
|
1197
1197
|
// Non-AC zones (like boiler/hot water)
|
|
1198
1198
|
service.getCharacteristic(characteristicTargetTempHeating).updateValue(targetTemp);
|
|
1199
|
-
service.
|
|
1199
|
+
if (service.testCharacteristic(characteristicTargetTempCooling)) {
|
|
1200
|
+
service.getCharacteristic(characteristicTargetTempCooling).updateValue(targetTemp);
|
|
1201
|
+
}
|
|
1200
1202
|
}
|
|
1201
1203
|
}
|
|
1202
1204
|
|
package/src/tado/tado-config.js
CHANGED