mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Fix HAVCAction typing in Overkiz (#94660)
This commit is contained in:
parent
562f0d3c52
commit
7e5a9ea6c7
@ -73,7 +73,7 @@ class ValveHeatingTemperatureInterface(OverkizEntity, ClimateEntity):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_action(self) -> str:
|
def hvac_action(self) -> HVACAction:
|
||||||
"""Return the current running hvac operation."""
|
"""Return the current running hvac operation."""
|
||||||
return OVERKIZ_TO_HVAC_ACTION[
|
return OVERKIZ_TO_HVAC_ACTION[
|
||||||
cast(str, self.executor.select_state(OverkizState.CORE_OPEN_CLOSED_VALVE))
|
cast(str, self.executor.select_state(OverkizState.CORE_OPEN_CLOSED_VALVE))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user