Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions custom_components/systemair/modbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions custom_components/systemair/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
),
)


Expand Down