Use STATE_DOCKED for emptying the bin for xiaomi_miio.vacuum (#60513)
parent
b5e3050a23
commit
dc5377485b
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue