mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix HAVCAction typing in Atag (#94656)
This commit is contained in:
parent
81d46fe2b2
commit
324bd9a97a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user