mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Adjust vesync type hints (#73842)
This commit is contained in:
parent
0e674fc597
commit
9ac28d2076
@ -113,9 +113,9 @@ class VeSyncFanHA(VeSyncDevice, FanEntity):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def preset_modes(self):
|
def preset_modes(self) -> list[str]:
|
||||||
"""Get the list of available preset modes."""
|
"""Get the list of available preset modes."""
|
||||||
return PRESET_MODES[SKU_TO_BASE_DEVICE.get(self.device.device_type)]
|
return PRESET_MODES[SKU_TO_BASE_DEVICE[self.device.device_type]]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def preset_mode(self) -> str | None:
|
def preset_mode(self) -> str | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user