Skip to content

Commit

Permalink
allow initializing Vacuum without token to make discovery work again
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Sep 5, 2017
1 parent 5c179bb commit 5b66b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirobo/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class VacuumException(DeviceException):
class Vacuum(Device):
"""Main class representing the vacuum."""

def __init__(self, ip: str, token: str, start_id: int = 0,
def __init__(self, ip: str, token: str = None, start_id: int = 0,
debug: int = 0) -> None:
super().__init__(ip, token, start_id, debug)
self.manual_seqnum = -1
Expand Down

0 comments on commit 5b66b09

Please sign in to comment.