mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Master RAS zone (#90825)
Fixes issue in some systems with different numbering systems
This commit is contained in:
parent
2dfe33d177
commit
80fe5051b3
@ -142,8 +142,11 @@ class ControllerDevice(ClimateEntity):
|
||||
|
||||
# If mode RAS, or mode master with CtrlZone 13 then can set master temperature,
|
||||
# otherwise the unit determines which zone to use as target. See interface manual p. 8
|
||||
# It appears some systems may have a different numbering system, so will trigger
|
||||
# this if the control zone is > total zones.
|
||||
if (
|
||||
controller.ras_mode == "master" and controller.zone_ctrl == 13
|
||||
controller.ras_mode == "master"
|
||||
and controller.zone_ctrl > controller.zones_total
|
||||
) or controller.ras_mode == "RAS":
|
||||
self._attr_supported_features |= ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user