Skip to content

Commit

Permalink
Merge pull request #281 from Simonh98/set-external-sensor-option
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaradclimber authored Feb 15, 2025
2 parents eeab4be + 4b79839 commit c5ae78e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions custom_components/aquarea/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,14 @@ def build_switches(mqtt_prefix: str) -> list[HeishaMonSwitchEntityDescription]:
entity_category=EntityCategory.CONFIG,
state=bit_to_bool,
),
HeishaMonSwitchEntityDescription(
heishamon_topic_id="SET26", # corresponds to "TOP108"
key=f"{mqtt_prefix}main/Alt_External_Sensor",
command_topic=f"{mqtt_prefix}commands/SetAltExternalSensor",
name="Aquarea use external outdoor sensor",
entity_category=EntityCategory.CONFIG,
state=bit_to_bool,
),
HeishaMonSwitchEntityDescription(
heishamon_topic_id="SET28", # corresponds to TOP99
key=f"{mqtt_prefix}main/Buffer_Installed",
Expand Down Expand Up @@ -1082,12 +1090,6 @@ def build_binary_sensors(
name="Aquarea DHW Installed",
state=bit_to_bool,
),
HeishaMonBinarySensorEntityDescription(
heishamon_topic_id="TOP108",
key=f"{mqtt_prefix}main/Alt_External_Sensor",
name="Aquarea external outdoor sensor selected",
state=bit_to_bool,
),
HeishaMonBinarySensorEntityDescription(
heishamon_topic_id="TOP109",
key=f"{mqtt_prefix}main/Anti_Freeze_Mode",
Expand Down

0 comments on commit c5ae78e

Please sign in to comment.