mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix HAVCAction typing in Genius Hub (#94659)
This commit is contained in:
parent
7e5a9ea6c7
commit
68f87fe42a
@ -76,7 +76,7 @@ class GeniusClimateZone(GeniusHeatingZone, ClimateEntity):
|
||||
return list(HA_HVAC_TO_GH)
|
||||
|
||||
@property
|
||||
def hvac_action(self) -> str | None:
|
||||
def hvac_action(self) -> HVACAction | None:
|
||||
"""Return the current running hvac operation if supported."""
|
||||
if "_state" in self._zone.data: # only for v3 API
|
||||
if self._zone.data["output"] == 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user