mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-09 22:37:08 +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",
|
id="vacuum_fan_speed",
|
||||||
name="Fan speed",
|
name="Fan speed",
|
||||||
container=self,
|
container=self,
|
||||||
attribute_getter="fan_speed",
|
attribute_getter="fan_speed_preset",
|
||||||
attribute_setter="set_fan_speed",
|
attribute_setter="set_fan_speed_preset",
|
||||||
icon="mdi:fan",
|
icon="mdi:fan",
|
||||||
choices_getter=lambda: list([str(speed) for speed in FanSpeed]),
|
choices_getter=lambda: list([str(speed) for speed in FanSpeed]),
|
||||||
category=Feature.Category.Primary,
|
category=Feature.Category.Primary,
|
||||||
|
Loading…
Reference in New Issue
Block a user