Skip to content

Commit

Permalink
Update robot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dshokouhi authored Dec 5, 2018
1 parent 82a1400 commit 3b6c36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybotvac/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Disable warning due to SubjectAltNameWarning in certificate
requests.packages.urllib3.disable_warnings()

SUPPORTED_SERVICES = ['basic-1', 'minimal-2', 'basic-2', 'basic-3']
SUPPORTED_SERVICES = ['basic-1', 'minimal-2', 'basic-2', 'basic-3', 'basic-4']


class UnsupportedDevice(Exception):
Expand Down Expand Up @@ -78,7 +78,7 @@ def start_cleaning(self, mode=2, navigation_mode=1, category=None):
'mode': mode,
'modifier': 1}
}
elif self.service_version == 'basic-3':
elif self.service_version == 'basic-3' or 'basic-4':
json = {'reqId': "1",
'cmd': "startCleaning",
'params': {
Expand Down

0 comments on commit 3b6c36e

Please sign in to comment.