mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-09 14:27:10 +00:00
Fix fan_speed feature getter+setter
This commit is contained in:
parent
c3a9208664
commit
4872404842
@ -109,8 +109,8 @@ class Vacuum(SmartModule):
|
||||
id="vacuum_fan_speed",
|
||||
name="Fan speed",
|
||||
container=self,
|
||||
attribute_getter="fan_speed",
|
||||
attribute_setter="set_fan_speed",
|
||||
attribute_getter="fan_speed_preset",
|
||||
attribute_setter="set_fan_speed_preset",
|
||||
icon="mdi:fan",
|
||||
choices_getter=lambda: list([str(speed) for speed in FanSpeed]),
|
||||
category=Feature.Category.Primary,
|
||||
|
Loading…
Reference in New Issue
Block a user