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 Paulus Schoutsen
parent d2f90236d1
commit f5562e93ac

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