From 6346980daa2dfa3b4f81ee3470d389897d47c8d6 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Fri, 3 Jan 2025 20:30:58 +0100 Subject: [PATCH] Add some more error codes --- kasa/smart/modules/vacuum.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kasa/smart/modules/vacuum.py b/kasa/smart/modules/vacuum.py index 3c2e8b50..b93c432e 100644 --- a/kasa/smart/modules/vacuum.py +++ b/kasa/smart/modules/vacuum.py @@ -33,7 +33,13 @@ class ErrorCode(IntEnum): """Error codes for vacuum.""" Ok = 0 + MainBrushStuck = 3 + WheelBlocked = 4 DustBinRemoved = 14 + UnableToMove = 15 + LidarBlocked = 16 + UnableToFindDock = 21 + Unknown = -1000