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

This commit is contained in:
Teemu R
2021-12-05 18:48:25 +01:00
committed by GitHub
parent b5e3050a23
commit dc5377485b

View File

@@ -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"
}