From 324bd9a97a09f6b7c33c9492533babf9b4de8c90 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 15 Jun 2023 18:43:56 +0200 Subject: [PATCH] Fix HAVCAction typing in Atag (#94656) --- homeassistant/components/atag/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/atag/climate.py b/homeassistant/components/atag/climate.py index 00897f127d9..9b2729f141e 100644 --- a/homeassistant/components/atag/climate.py +++ b/homeassistant/components/atag/climate.py @@ -58,7 +58,7 @@ class AtagThermostat(AtagEntity, ClimateEntity): return try_parse_enum(HVACMode, self.coordinator.data.climate.hvac_mode) @property - def hvac_action(self) -> str | None: + def hvac_action(self) -> HVACAction | None: """Return the current running hvac operation.""" is_active = self.coordinator.data.climate.status return HVACAction.HEATING if is_active else HVACAction.IDLE