Skip to content

Commit

Permalink
Add more supported vacuum models (#1173)
Browse files Browse the repository at this point in the history
* Add S4 to the list of supported models.

for referecne: home-assistant/core#58550 (comment)

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>

* Add s4 max to supported vacuum models

home-assistant/core#57474 (comment)

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>

* Add Roborock S6 Pure to support vacuum models.

home-assistant/core#58550 (comment)

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
  • Loading branch information
OGKevin authored Nov 29, 2021
1 parent 9ba55a9 commit cb8ea87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ To ease the process of setting up a development environment we have prepared `a
Supported devices
-----------------

- Xiaomi Mi Robot Vacuum V1, S5, S5 MAX, M1S, S7
- Xiaomi Mi Robot Vacuum V1, S4, S4 MAX, S5, S5 MAX, S6 Pure, M1S, S7
- Xiaomi Mi Home Air Conditioner Companion
- Xiaomi Mi Smart Air Conditioner A (xiaomi.aircondition.mc1, mc2, mc4, mc5)
- Xiaomi Mi Air Purifier 2, 3H, 3C, Pro (zhimi.airpurifier.m2, mb3, mb4, v7)
Expand Down
6 changes: 6 additions & 0 deletions miio/integrations/vacuum/roborock/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,24 @@ class CarpetCleaningMode(enum.Enum):


ROCKROBO_V1 = "rockrobo.vacuum.v1"
ROCKROBO_S4 = "roborock.vacuum.s4"
ROCKROBO_S4_MAX = "roborock.vacuum.a19"
ROCKROBO_S5 = "roborock.vacuum.s5"
ROCKROBO_S5_MAX = "roborock.vacuum.s5e"
ROCKROBO_S6 = "roborock.vacuum.s6"
ROCKROBO_S6_PURE = "roborock.vacuum.a08"
ROCKROBO_S7 = "roborock.vacuum.a15"
ROCKROBO_S6_MAXV = "roborock.vacuum.a10"
ROCKROBO_E2 = "roborock.vacuum.e2"

SUPPORTED_MODELS = [
ROCKROBO_V1,
ROCKROBO_S4,
ROCKROBO_S4_MAX,
ROCKROBO_S5,
ROCKROBO_S5_MAX,
ROCKROBO_S6,
ROCKROBO_S6_PURE,
ROCKROBO_S7,
ROCKROBO_S6_MAXV,
ROCKROBO_E2,
Expand Down

0 comments on commit cb8ea87

Please sign in to comment.