Improved "ON" state check for Use room sensor for cooling (#89634)

This commit is contained in:
tomrennen 2023-03-13 15:15:13 +01:00 committed by GitHub
parent cdfb43d403
commit 15506da332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ class NibeClimateEntity(CoordinatorEntity[Coordinator], ClimateEntity):
mode = HVACMode.OFF
if _get_value(self._coil_use_room_sensor) == "ON":
if _get_value(self._coil_cooling_with_room_sensor) == "ON":
if _get_value(self._coil_cooling_with_room_sensor) != "OFF":
mode = HVACMode.HEAT_COOL
else:
mode = HVACMode.HEAT