diff --git a/custom_components/systemair/modbus.py b/custom_components/systemair/modbus.py index 371391d..bbbe214 100644 --- a/custom_components/systemair/modbus.py +++ b/custom_components/systemair/modbus.py @@ -505,6 +505,15 @@ class ModbusParameter: description="Enabling of eco mode", boolean=True, ), + # Free Cooling + ModbusParameter( + register=4100, + sig=IntegerType.UINT, + reg_type=RegisterType.Holding, + short="REG_FREE_COOLING_ON_OFF", + description="Enabling of free cooling", + boolean=True, + ), # Filter replacement ModbusParameter( register=7005, @@ -776,6 +785,7 @@ class ModbusParameter: for short in [ "REG_FILTER_REMAINING_TIME_L", "REG_FILTER_REMAINING_TIME_H", + "REG_FREE_COOLING_ON_OFF", "REG_USERMODE_CROWDED_AIRFLOW_LEVEL_SAF", "REG_USERMODE_REFRESH_AIRFLOW_LEVEL_SAF", "REG_USERMODE_FIREPLACE_AIRFLOW_LEVEL_SAF", diff --git a/custom_components/systemair/switch.py b/custom_components/systemair/switch.py index b71611d..fa1a5ec 100644 --- a/custom_components/systemair/switch.py +++ b/custom_components/systemair/switch.py @@ -32,6 +32,12 @@ class SystemairSwitchEntityDescription(SwitchEntityDescription): icon="mdi:leaf", registry=parameter_map["REG_ECO_MODE_ON_OFF"], ), + SystemairSwitchEntityDescription( + key="free_cooling", + translation_key="free_cooling", + icon="mdi:snowflake", + registry=parameter_map["REG_FREE_COOLING_ON_OFF"], + ), )