mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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)
|
return list(HA_HVAC_TO_GH)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_action(self) -> str | None:
|
def hvac_action(self) -> HVACAction | None:
|
||||||
"""Return the current running hvac operation if supported."""
|
"""Return the current running hvac operation if supported."""
|
||||||
if "_state" in self._zone.data: # only for v3 API
|
if "_state" in self._zone.data: # only for v3 API
|
||||||
if self._zone.data["output"] == 1:
|
if self._zone.data["output"] == 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user