From 8f567fe493c6658f5dd0c250a067fa99f98e1556 Mon Sep 17 00:00:00 2001 From: Tx Mat Date: Wed, 20 Sep 2023 16:47:44 +0200 Subject: [PATCH] Added support for dreame d10 plus (#1827) Dreame D10 plus (https://home.miot-spec.com/spec/dreame.vacuum.r2205) seems to be using the same mapping as DREAME_TROUVER_FINDER. This allows for miio to use the robot properly by supporting it with dreamevacuum instead of genericmiot --- miio/integrations/dreame/vacuum/dreamevacuum_miot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miio/integrations/dreame/vacuum/dreamevacuum_miot.py b/miio/integrations/dreame/vacuum/dreamevacuum_miot.py index 801f8bc64..50ab4c1f9 100644 --- a/miio/integrations/dreame/vacuum/dreamevacuum_miot.py +++ b/miio/integrations/dreame/vacuum/dreamevacuum_miot.py @@ -25,6 +25,7 @@ DREAME_MOP_2_ULTRA = "dreame.vacuum.p2150a" DREAME_MOP_2 = "dreame.vacuum.p2150o" DREAME_TROUVER_FINDER = "dreame.vacuum.p2036" +DREAME_D10_PLUS = "dreame.vacuum.r2205" _DREAME_1C_MAPPING: MiotMapping = { # https://home.miot-spec.com/spec/dreame.vacuum.mc1808 @@ -174,6 +175,7 @@ DREAME_MOP_2_ULTRA: _DREAME_F9_MAPPING, DREAME_MOP_2: _DREAME_F9_MAPPING, DREAME_TROUVER_FINDER: _DREAME_TROUVER_FINDER_MAPPING, + DREAME_D10_PLUS: _DREAME_TROUVER_FINDER_MAPPING, }