diff --git a/custom_components/deltadore_tydom/ha_entities.py b/custom_components/deltadore_tydom/ha_entities.py index d1f514e..e63c1bd 100644 --- a/custom_components/deltadore_tydom/ha_entities.py +++ b/custom_components/deltadore_tydom/ha_entities.py @@ -613,7 +613,7 @@ class HaClimate(ClimateEntity, HAEntity): HVACMode.COOL: "COOLING", HVACMode.HEAT: "NORMAL", HVACMode.OFF: "STOP", - HVACMode.FAN_ONLY: "VENTILATING", + HVACMode.FAN_ONLY: "VENTILATING", HVACMode.DRY: "DRYING" } DICT_MODES_DD_TO_HA = { @@ -660,7 +660,7 @@ def __init__(self, device: TydomBoiler, hass) -> None: HVACMode.OFF, HVACMode.AUTO, ] - + if ("comfortMode" in self._device._metadata and "COOLING" in self._device._metadata["comfortMode"]["enum_values"]) or ("hvacMode" in self._device._metadata and "COOLING" in self._device._metadata["hvacMode"]["enum_values"]): self._attr_hvac_modes.append(HVACMode.COOL)