diff --git a/drivers/mi-robot/device.js b/drivers/mi-robot/device.js index d4c7cd1..f192478 100644 --- a/drivers/mi-robot/device.js +++ b/drivers/mi-robot/device.js @@ -98,7 +98,7 @@ class MiRobotDevice extends Homey.Device { if (this.miio.property('state') == 'charging') { var onoff = false; var state = 'charging'; - } else if (this.miio.property('state') == 'docked' || this.miio.property('state') == 'full' || this.miio.property('state') == 'returning') { + } else if (this.miio.property('state') == 'docking' || this.miio.property('state') == 'full' || this.miio.property('state') == 'returning') { var onoff = false; var state = 'docked'; } else if (this.miio.property('state') == 'cleaning' || this.miio.property('state') == 'zone-cleaning') {