From 4dca9aca80583ce324c3f303ea096c56b19877e1 Mon Sep 17 00:00:00 2001 From: Oncleben31 Date: Tue, 19 Feb 2019 14:30:39 +0100 Subject: [PATCH 1/3] Add missing error message Info found on this link https://drkoch.dk/wp-content/uploads/2018/10/Roborock_Robot_Vacuum_Cleaner_EN.pdf --- miio/vacuumcontainers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/miio/vacuumcontainers.py b/miio/vacuumcontainers.py index bf7e5110f..e5a04930f 100644 --- a/miio/vacuumcontainers.py +++ b/miio/vacuumcontainers.py @@ -31,6 +31,9 @@ def pretty_area(x: float) -> float: 17: "Side brushes problem, reboot me", 18: "Suction fan problem", 19: "Unpowered charging station", + 21: "Laser disance sensor blocked", + 22: "Clean the dock charging contacts", + 23: "Docking station not reachable" } From 7283b24fec88fdb3508267b91b6d06ec9189f08b Mon Sep 17 00:00:00 2001 From: Oncleben31 Date: Tue, 19 Feb 2019 14:32:03 +0100 Subject: [PATCH 2/3] Typo correction --- miio/vacuumcontainers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/vacuumcontainers.py b/miio/vacuumcontainers.py index e5a04930f..59b841453 100644 --- a/miio/vacuumcontainers.py +++ b/miio/vacuumcontainers.py @@ -33,7 +33,7 @@ def pretty_area(x: float) -> float: 19: "Unpowered charging station", 21: "Laser disance sensor blocked", 22: "Clean the dock charging contacts", - 23: "Docking station not reachable" + 23: "Docking station not reachable", } From a9bf29d1415d4b806e020dc766b7158bc05f31e5 Mon Sep 17 00:00:00 2001 From: Oncleben31 Date: Tue, 19 Feb 2019 16:44:22 +0100 Subject: [PATCH 3/3] implement format feedback from HoundCI --- miio/vacuumcontainers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/vacuumcontainers.py b/miio/vacuumcontainers.py index 59b841453..7fcdea985 100644 --- a/miio/vacuumcontainers.py +++ b/miio/vacuumcontainers.py @@ -31,7 +31,7 @@ def pretty_area(x: float) -> float: 17: "Side brushes problem, reboot me", 18: "Suction fan problem", 19: "Unpowered charging station", - 21: "Laser disance sensor blocked", + 21: "Laser disance sensor blocked", 22: "Clean the dock charging contacts", 23: "Docking station not reachable", }