Skip to content

Commit

Permalink
Pin max pywattbox version.
Browse files Browse the repository at this point in the history
  • Loading branch information
eseglem committed Nov 27, 2023
1 parent 7637ed8 commit 47e381b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/wattbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/wattbox/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/wattbox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@eseglem"
],
"requirements": [
"pywattbox>=0.4.0"
"pywattbox>=0.4.0,<0.7.0"
]
}

0 comments on commit 47e381b

Please sign in to comment.