Use STATE_DOCKED for emptying the bin for xiaomi_miio.vacuum (#60513)

This commit is contained in:
Teemu R
2021-12-05 09:52:23 -08:00
committed by Paulus Schoutsen
parent eaf53c10ed
commit c70f833069
@@ -92,6 +92,7 @@ STATE_CODE_TO_STATE = {
16: STATE_CLEANING, # "Going to target"
17: STATE_CLEANING, # "Zoned cleaning"
18: STATE_CLEANING, # "Segment cleaning"
22: STATE_DOCKED, # "Emptying the bin" on s7+
100: STATE_DOCKED, # "Charging complete"
101: STATE_ERROR, # "Device offline"
}