diff --git a/pyneato/enum.py b/pyneato/enum.py index c993445..219aa6b 100644 --- a/pyneato/enum.py +++ b/pyneato/enum.py @@ -93,6 +93,7 @@ class CleaningModeEnum(str, Enum): ECO = "eco" MAX = "max" TURBO = "turbo" + AUTO = "auto" @staticmethod def from_str(mode: str): @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 5897540..ec99317 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pyneato" -version = "0.0.5" +version = "0.0.6" authors = [ { name="Benjamin Paap", email="benjamin.paap@gmail.com" }, ] diff --git a/setup.py b/setup.py index 14af45d..14814bb 100644 --- a/setup.py +++ b/setup.py @@ -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",