From 3776fc3b9fa459781d901e86a348314ca197f1e1 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Tue, 20 Sep 2022 17:32:10 +0200 Subject: [PATCH] Add status codes 23 and 26 to Xiaomi Miio vacuum (#78289) * Add status codes 23 and 26 * change status 26 --- homeassistant/components/xiaomi_miio/vacuum.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 19c38ac0a82..3d6ada7481f 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -73,6 +73,8 @@ STATE_CODE_TO_STATE = { 17: STATE_CLEANING, # "Zoned cleaning" 18: STATE_CLEANING, # "Segment cleaning" 22: STATE_DOCKED, # "Emptying the bin" on s7+ + 23: STATE_DOCKED, # "Washing the mop" on s7maxV + 26: STATE_RETURNING, # "Going to wash the mop" on s7maxV 100: STATE_DOCKED, # "Charging complete" 101: STATE_ERROR, # "Device offline" }