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

pull/61699/head
Teemu R 2021-12-05 18:48:25 +01:00 committed by GitHub
parent b5e3050a23
commit dc5377485b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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