Skip to content

Commit

Permalink
chore: Rename heat_mode to be more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
alepee committed Nov 17, 2024
1 parent 232e31b commit 937f7e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions custom_components/hitachi_yutaki/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"unit_power": 1000,
"unit_mode": 1001,
"circuit1_power": 1002,
"circuit1_heat_mode": 1003,
"circuit1_cool_mode": 1004,
"circuit1_water_heating_temp_control": 1003,
"circuit1_water_cooling_temp_control": 1004,
"circuit1_water_heating_temp_setting": 1005,
"circuit1_water_cooling_temp_setting": 1006,
"circuit1_eco_mode": 1007,
Expand All @@ -74,8 +74,8 @@
"circuit1_thermostat_temp": 1011,
"circuit1_room_temp": 1012,
"circuit2_power": 1013,
"circuit2_heat_mode": 1014,
"circuit2_cool_mode": 1015,
"circuit2_water_heating_temp_control": 1014,
"circuit2_water_cooling_temp_control": 1015,
"circuit2_water_heating_temp_setting": 1016,
"circuit2_water_cooling_temp_setting": 1017,
"circuit2_eco_mode": 1018,
Expand Down
12 changes: 6 additions & 6 deletions custom_components/hitachi_yutaki/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ class HitachiYutakiSelectEntityDescription(SelectEntityDescription):

CIRCUIT_SELECTS: Final[tuple[HitachiYutakiSelectEntityDescription, ...]] = (
HitachiYutakiSelectEntityDescription(
key="heat_mode",
name="Heat Mode",
register_key="heat_mode",
key="water_heating_temp_control",
name="Water Heating Temperature Control",
register_key="water_heating_temp_control",
options=["disabled", "points", "gradient", "fix"],
value_map={
"disabled": 0,
Expand All @@ -72,9 +72,9 @@ class HitachiYutakiSelectEntityDescription(SelectEntityDescription):
entity_category=EntityCategory.CONFIG,
),
HitachiYutakiSelectEntityDescription(
key="cool_mode",
name="Cool Mode",
register_key="cool_mode",
key="water_cooling_temp_control",
name="Water Cooling Temperature Control",
register_key="water_cooling_temp_control",
options=["disabled", "points", "fix"],
value_map={
"disabled": 0,
Expand Down

0 comments on commit 937f7e4

Please sign in to comment.