Add status codes 23 and 26 to Xiaomi Miio vacuum (#78289)

* Add status codes 23 and 26

* change status 26
This commit is contained in:
starkillerOG
2022-09-20 17:32:10 +02:00
committed by GitHub
parent 924bffc7d0
commit 3776fc3b9f

View File

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