Skip to content

Commit

Permalink
Change mixer parameter names.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Nov 2, 2023
1 parent 0d3c820 commit 4ddc3eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pyplumio/structures/mixer_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class MixerBinaryParameterDescription(
MixerParameterDescription(name="max_target_temp"),
MixerParameterDescription(name="low_target_temp"),
MixerBinaryParameterDescription(name="weather_control"),
MixerParameterDescription(name="heat_curve", multiplier=10),
MixerParameterDescription(name="parallel_offset_heat_curve"),
MixerParameterDescription(name="heating_curve", multiplier=10),
MixerParameterDescription(name="heating_curve_shift", offset=-20),
MixerParameterDescription(name="weather_temp_factor"),
MixerParameterDescription(name="work_mode"),
MixerParameterDescription(name="insensitivity", multiplier=10),
Expand All @@ -108,14 +108,14 @@ class MixerBinaryParameterDescription(
),
ProductType.ECOMAX_I: (
MixerParameterDescription(name="work_mode"),
MixerParameterDescription(name="mixer_target_temp"),
MixerParameterDescription(name="circuit_target_temp"),
MixerParameterDescription(name="day_target_temp"),
MixerParameterDescription(name="night_target_temp"),
MixerParameterDescription(name="min_target_temp"),
MixerParameterDescription(name="max_target_temp"),
MixerBinaryParameterDescription(name="summer_work"),
MixerBinaryParameterDescription(name="weather_control"),
MixerParameterDescription(name="support"),
MixerParameterDescription(name="enable_circuit"),
MixerParameterDescription(name="constant_water_preset_temp"),
MixerParameterDescription(name="thermostat_decrease_temp"),
MixerParameterDescription(name="thermostat_correction"),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ async def test_mixer_parameters_callbacks(ecomax: EcoMAX) -> None:
assert isinstance(weather_control, MixerBinaryParameter)
assert weather_control.value == STATE_ON

heat_curve = await mixer.get("heat_curve")
heat_curve = await mixer.get("heating_curve")
assert isinstance(heat_curve, MixerParameter)
assert heat_curve.value == 1.3
assert heat_curve.min_value == 1.0
Expand Down

0 comments on commit 4ddc3eb

Please sign in to comment.