Skip to content

Commit

Permalink
Add missing preset for Overkiz atlantic electrical heater (#84080)
Browse files Browse the repository at this point in the history
Readd missing preset for atlantic electrical heater
  • Loading branch information
nyroDev authored Dec 20, 2022
1 parent 3fc667f commit 2c238ba
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

from ..entity import OverkizEntity

PRESET_COMFORT1 = "comfort-1"
PRESET_COMFORT2 = "comfort-2"
PRESET_FROST_PROTECTION = "frost_protection"

OVERKIZ_TO_HVAC_MODES: dict[str, HVACMode] = {
Expand All @@ -31,6 +33,8 @@
OverkizCommandParam.FROSTPROTECTION: PRESET_FROST_PROTECTION,
OverkizCommandParam.ECO: PRESET_ECO,
OverkizCommandParam.COMFORT: PRESET_COMFORT,
OverkizCommandParam.COMFORT_1: PRESET_COMFORT1,
OverkizCommandParam.COMFORT_2: PRESET_COMFORT2,
}

PRESET_MODES_TO_OVERKIZ = {v: k for k, v in OVERKIZ_TO_PRESET_MODES.items()}
Expand Down

0 comments on commit 2c238ba

Please sign in to comment.