@homebridge-plugins/homebridge-tado 9.2.0 → 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 CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  # v9.2.0 - 2026-06-05
4
8
  - Fix: Incorrect warning "CoolingThresholdTemperature exceeded maximum of 35" for HOT_WATER zones with `boilerTempSupport: true` (#169)
5
9
  - Fix: Config UI: show AC-specific fields for AIR_CONDITIONING zones (#173)
@@ -682,7 +682,12 @@
682
682
  },
683
683
  "items": [
684
684
  "homes[].zones[].boilerTempSupport",
685
- "homes[].zones[].accTypeBoiler"
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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebridge-plugins/homebridge-tado",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
4
4
  "description": "Homebridge plugin for controlling tado° devices.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -167,9 +167,21 @@ export default class HeaterCoolerAccessory {
167
167
  ? 25
168
168
  : 77;
169
169
 
170
- minValue = this.accessory.context.config.minValue < maxValue ? this.accessory.context.config.minValue : minValue;
171
-
172
- maxValue = this.accessory.context.config.maxValue > minValue ? this.accessory.context.config.maxValue : maxValue;
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
 
@@ -582,6 +582,7 @@ export default {
582
582
  ? 'zone-faucet'
583
583
  : 'zone-switch';
584
584
 
585
+ // boilerTempSupport always takes precedence over accTypeBoiler
585
586
  config.subtype = zone.boilerTempSupport ? 'zone-heatercooler-boiler' : config.subtype;
586
587
 
587
588
  config.zoneId = zone.id;