mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-17 21:08:03 +00:00
Add get_alias for get_feature
This commit is contained in:
@@ -21,3 +21,6 @@ class Fan(Module, ABC):
|
||||
self, level: int
|
||||
) -> Annotated[dict, FeatureAttribute()]:
|
||||
"""Set fan speed level."""
|
||||
|
||||
|
||||
Fan.get_fan_speed_level = Fan.fan_speed_level.fget # type: ignore[attr-defined]
|
||||
|
Reference in New Issue
Block a user