Fix HAVCAction typing in Balboa Spa Client (#94658)

This commit is contained in:
Franck Nijhof 2023-06-15 18:43:32 +02:00 committed by GitHub
parent 68f87fe42a
commit 81d46fe2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class BalboaClimateEntity(BalboaEntity, ClimateEntity):
return HEAT_HVAC_MODE_MAP.get(self._client.heat_mode.state)
@property
def hvac_action(self) -> str:
def hvac_action(self) -> HVACAction:
"""Return the current operation mode."""
return HEAT_STATE_HVAC_ACTION_MAP[self._client.heat_state]