mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix HAVCAction typing in Balboa Spa Client (#94658)
This commit is contained in:
parent
68f87fe42a
commit
81d46fe2b2
@ -78,7 +78,7 @@ class BalboaClimateEntity(BalboaEntity, ClimateEntity):
|
|||||||
return HEAT_HVAC_MODE_MAP.get(self._client.heat_mode.state)
|
return HEAT_HVAC_MODE_MAP.get(self._client.heat_mode.state)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_action(self) -> str:
|
def hvac_action(self) -> HVACAction:
|
||||||
"""Return the current operation mode."""
|
"""Return the current operation mode."""
|
||||||
return HEAT_STATE_HVAC_ACTION_MAP[self._client.heat_state]
|
return HEAT_STATE_HVAC_ACTION_MAP[self._client.heat_state]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user