From 48724048428cd7e6d927dc5c0eb8e66d694da8ac Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Fri, 3 Jan 2025 19:14:22 +0100 Subject: [PATCH] Fix fan_speed feature getter+setter --- kasa/smart/modules/vacuum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kasa/smart/modules/vacuum.py b/kasa/smart/modules/vacuum.py index fc96abad..61f3b5ec 100644 --- a/kasa/smart/modules/vacuum.py +++ b/kasa/smart/modules/vacuum.py @@ -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,