mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix HAVCMode typing in Fibaro (#94641)
This commit is contained in:
parent
1d3a7512d8
commit
e49f1b002f
@ -263,7 +263,7 @@ class FibaroThermostat(FibaroDevice, ClimateEntity):
|
|||||||
return device.mode
|
return device.mode
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_mode(self) -> HVACMode | str | None:
|
def hvac_mode(self) -> HVACMode | None:
|
||||||
"""Return hvac operation ie. heat, cool, idle."""
|
"""Return hvac operation ie. heat, cool, idle."""
|
||||||
fibaro_operation_mode = self.fibaro_op_mode
|
fibaro_operation_mode = self.fibaro_op_mode
|
||||||
if isinstance(fibaro_operation_mode, str):
|
if isinstance(fibaro_operation_mode, str):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user