Skip to content

Commit

Permalink
πŸ› Accept wider range of value for heat commands
Browse files Browse the repository at this point in the history
Some heatpumps use those value to drive either room temperature or water
temperature.
Until we know how to distinguish those two setups we'll have to widen
the range. UX will be weirder since user will be able to see very wide
range of possible values.

Fixes #57

Change-Id: I1106a699d03d9172003f5848b9f875442a256d69
  • Loading branch information
kamaradclimber committed Dec 7, 2022
1 parent 9da522b commit 238ce94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/aquarea/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def build_numbers(mqtt_prefix: str) -> list[HeishaMonNumberEntityDescription]:
on_receive=partial(
guess_shift_or_direct_and_clamp_min_max_values,
range(-5, 6),
range(20, 30),
range(7, 45),
),
),
HeishaMonNumberEntityDescription(
Expand Down Expand Up @@ -350,7 +350,7 @@ def build_numbers(mqtt_prefix: str) -> list[HeishaMonNumberEntityDescription]:
on_receive=partial(
guess_shift_or_direct_and_clamp_min_max_values,
range(-5, 6),
range(20, 30),
range(7, 45),
),
),
HeishaMonNumberEntityDescription(
Expand Down

0 comments on commit 238ce94

Please sign in to comment.