Skip to content

Commit

Permalink
Merge 42fd08a into 28d8d8a
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Jul 3, 2020
2 parents 28d8d8a + 42fd08a commit 4cd7b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miio/vacuum.py
Expand Up @@ -14,7 +14,7 @@

from .click_common import DeviceGroup, GlobalContextObject, LiteralParamType, command
from .device import Device
from .exceptions import DeviceException
from .exceptions import DeviceException, DeviceInfoUnavailableException
from .vacuumcontainers import (
CarpetModeStatus,
CleaningDetails,
Expand Down Expand Up @@ -454,7 +454,7 @@ def _autodetect_model(self):
try:
info = self.info()
self.model = info.model
except TypeError:
except (TypeError, DeviceInfoUnavailableException):
# cloud-blocked vacuums will not return proper payloads
self._fanspeeds = FanspeedV1
self.model = ROCKROBO_V1
Expand Down

0 comments on commit 4cd7b4b

Please sign in to comment.