diff --git a/custom_components/luxtronik/sensor.py b/custom_components/luxtronik/sensor.py index 6a80a98..2c055f1 100644 --- a/custom_components/luxtronik/sensor.py +++ b/custom_components/luxtronik/sensor.py @@ -294,7 +294,8 @@ def _handle_coordinator_update( T_heat_in = self._get_value(LC.C0204_HEAT_SOURCE_INPUT_TEMPERATURE) T_heat_out = self._get_value(LC.C0020_HEAT_SOURCE_OUTPUT_TEMPERATURE) Flow_WQ = self._get_value(LC.C0173_HEAT_SOURCE_FLOW_RATE) - if (T_out > T_in) and (T_heat_out > T_heat_in) and (Flow_WQ > 0): + Pump = self._get_value(LC.C0043_PUMP_FLOW) + if (T_out > T_in) and (T_heat_out > T_heat_in) and (Flow_WQ > 0) and Pump: # LOGGER.info(f"Cooling mode detected!!!") self._attr_native_value = LuxOperationMode.cooling.value # endregion Workaround Detect passive cooling operation mode