On my BRP069A61, the device 0 (unit) is incorrectly detected as hot water tank, need this patch:
--- a/pyaltherma/controllers.py
+++ b/pyaltherma/controllers.py
@@ -439,7 +439,7 @@ class AlthermaController:
logger.info(f'Discovered unit: Climate Control with id: {i} {label}')
unit_controller = AlthermaClimateControlController(unit, self._connection, label)
self._climate_control = unit_controller
- elif label == 'function/DomesticHotWaterTank' or 'function/DomesticHotWater':
+ elif label in ('function/DomesticHotWaterTank', 'function/DomesticHotWater'):
logger.info(f'Discovered unit: Water Tank Controller with id: {i} {label}')
unit_controller = AlthermaWaterTankController(unit, self._connection, label)
self._hot_water_tank = unit_controller
On my BRP069A61, the device 0 (unit) is incorrectly detected as hot water tank, need this patch: