diff --git a/homeassistant/components/vicare/climate.py b/homeassistant/components/vicare/climate.py index 3a2dcafac2d..bca0b96c726 100644 --- a/homeassistant/components/vicare/climate.py +++ b/homeassistant/components/vicare/climate.py @@ -146,6 +146,7 @@ class ViCareClimate(ViCareEntity, ClimateEntity): _attr_max_temp = VICARE_TEMP_HEATING_MAX _attr_target_temperature_step = PRECISION_WHOLE _attr_preset_modes = list(HA_TO_VICARE_PRESET_HEATING) + _current_action: bool | None = None def __init__(self, name, api, circuit, device_config): """Initialize the climate device.""" @@ -153,10 +154,9 @@ class ViCareClimate(ViCareEntity, ClimateEntity): self._attr_name = name self._api = api self._circuit = circuit - self._attributes = {} + self._attributes: dict[str, Any] = {} self._current_mode = None self._current_program = None - self._current_action = None self._attr_unique_id = f"{device_config.getConfig().serial}-{circuit.id}" def update(self) -> None: diff --git a/homeassistant/components/vicare/water_heater.py b/homeassistant/components/vicare/water_heater.py index 7e90c57e320..2e312d54d7d 100644 --- a/homeassistant/components/vicare/water_heater.py +++ b/homeassistant/components/vicare/water_heater.py @@ -106,7 +106,7 @@ class ViCareWater(ViCareEntity, WaterHeaterEntity): self._attr_name = name self._api = api self._circuit = circuit - self._attributes = {} + self._attributes: dict[str, Any] = {} self._current_mode = None self._attr_unique_id = f"{device_config.getConfig().serial}-{circuit.id}"