Skip to content

Commit

Permalink
Add buffer tank switch
Browse files Browse the repository at this point in the history
Add missing switch for buffer tank
  • Loading branch information
tjani8 authored Jan 7, 2024
1 parent f4ebcc4 commit 445c663
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions custom_components/aquarea/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,14 @@ def build_switches(mqtt_prefix: str) -> list[HeishaMonSwitchEntityDescription]:
entity_category=EntityCategory.CONFIG,
state=bit_to_bool,
),
HeishaMonSwitchEntityDescription(
heishamon_topic_id="SET18", # corresponds to TOP99
key=f"{mqtt_prefix}main/Buffer_Installed",
command_topic=f"{mqtt_prefix}commands/SetBuffer",
name="Aquarea Buffer tank",
entity_category=EntityCategory.CONFIG,
state=bit_to_bool,
),
]


Expand Down

0 comments on commit 445c663

Please sign in to comment.