mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Use STATE_DOCKED for emptying the bin for xiaomi_miio.vacuum (#60513)
This commit is contained in:
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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user