diff --git a/custom_components/wattbox/__init__.py b/custom_components/wattbox/__init__.py index 5a3c5d8..0e1da63 100644 --- a/custom_components/wattbox/__init__.py +++ b/custom_components/wattbox/__init__.py @@ -43,7 +43,7 @@ TOPIC_UPDATE, ) -REQUIREMENTS: Final[List[str]] = ["pywattbox>=0.4.0"] +REQUIREMENTS: Final[List[str]] = ["pywattbox>=0.4.0,<0.7.0"] _LOGGER = logging.getLogger(__name__) diff --git a/custom_components/wattbox/const.py b/custom_components/wattbox/const.py index 285cd43..e1574c7 100644 --- a/custom_components/wattbox/const.py +++ b/custom_components/wattbox/const.py @@ -14,7 +14,7 @@ # Base component constants DOMAIN: Final[str] = "wattbox" DOMAIN_DATA: Final[str] = f"{DOMAIN}_data" -VERSION: Final[str] = "0.8.1" +VERSION: Final[str] = "0.8.2" PLATFORMS: Final[List[str]] = ["binary_sensor", "sensor", "switch"] REQUIRED_FILES: Final[List[str]] = [ "binary_sensor.py", diff --git a/custom_components/wattbox/manifest.json b/custom_components/wattbox/manifest.json index 4ebb263..0889301 100644 --- a/custom_components/wattbox/manifest.json +++ b/custom_components/wattbox/manifest.json @@ -10,6 +10,6 @@ "@eseglem" ], "requirements": [ - "pywattbox>=0.4.0" + "pywattbox>=0.4.0,<0.7.0" ] } \ No newline at end of file