Skip to content

Commit

Permalink
Added 'auto' cleaning mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Paap committed Dec 6, 2022
1 parent 79bbde2 commit d7211cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyneato/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class CleaningModeEnum(str, Enum):
ECO = "eco"
MAX = "max"
TURBO = "turbo"
AUTO = "auto"

@staticmethod
def from_str(mode: str):
Expand All @@ -102,6 +103,8 @@ def from_str(mode: str):
return CleaningModeEnum.MAX
elif mode == 'turbo':
return CleaningModeEnum.TURBO
elif mode == 'auto':
return CleaningModeEnum.AUTO
else:
raise NotImplementedError('CleaningMode %s'%mode)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pyneato"
version = "0.0.5"
version = "0.0.6"
authors = [
{ name="Benjamin Paap", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="pyneato",
version="0.0.1",
version="0.0.6",
description="Python package for controlling Neato pyneato Connected vacuum robot",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit d7211cb

Please sign in to comment.