Fix HAVCAction typing in Overkiz (#94660)

pull/94677/head
Franck Nijhof 2023-06-15 18:42:46 +02:00 committed by GitHub
parent 562f0d3c52
commit 7e5a9ea6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class ValveHeatingTemperatureInterface(OverkizEntity, ClimateEntity):
)
@property
def hvac_action(self) -> str:
def hvac_action(self) -> HVACAction:
"""Return the current running hvac operation."""
return OVERKIZ_TO_HVAC_ACTION[
cast(str, self.executor.select_state(OverkizState.CORE_OPEN_CLOSED_VALVE))