From 2c238baa24e76125a4c4175e93ec27c8704a8bc1 Mon Sep 17 00:00:00 2001 From: Nyro Date: Tue, 20 Dec 2022 10:06:24 +0100 Subject: [PATCH] Add missing preset for Overkiz atlantic electrical heater (#84080) Readd missing preset for atlantic electrical heater --- .../overkiz/climate_entities/atlantic_electrical_heater.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater.py b/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater.py index c0d1dd04663..36d657d5846 100644 --- a/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater.py +++ b/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater.py @@ -17,6 +17,8 @@ from homeassistant.const import TEMP_CELSIUS from ..entity import OverkizEntity +PRESET_COMFORT1 = "comfort-1" +PRESET_COMFORT2 = "comfort-2" PRESET_FROST_PROTECTION = "frost_protection" OVERKIZ_TO_HVAC_MODES: dict[str, HVACMode] = { @@ -31,6 +33,8 @@ OVERKIZ_TO_PRESET_MODES: dict[str, str] = { 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()}