Skip to content

Commit

Permalink
Temporarily turn off persistent map cleaning
Browse files Browse the repository at this point in the history
Until this is exposed to HA defaulting to house cleaning is better as it will always clean.
  • Loading branch information
dshokouhi authored Jun 19, 2018
1 parent 3831c14 commit e6945a3
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 @@ -62,7 +62,7 @@ def start_cleaning(self, mode=2, navigation_mode=1, category=None):
# navigation_mode: 1 normal, 2 extra care, 3 deep
# category: 2 non-persistent map, 4 persistent map

#Default to using the persistent map if we support basic-3.
#Default to using the persistent map if we support basic-3. Temporarily kept at 2 until we expose this to home assistant. To use persistent map first make sure you create one from the Neato App.
if category is None:
category = 4 if self.service_version == 'basic-3' else 2

Expand All @@ -78,7 +78,7 @@ def start_cleaning(self, mode=2, navigation_mode=1, category=None):
json = {'reqId': "1",
'cmd': "startCleaning",
'params': {
'category': category,
'category': 2,
'mode': mode,
'modifier': 1,
"navigationMode": navigation_mode}
Expand Down

0 comments on commit e6945a3

Please sign in to comment.