Skip to content

Commit

Permalink
Adjust pywattbox version to remove ssh2-python.
Browse files Browse the repository at this point in the history
  • Loading branch information
eseglem committed Nov 20, 2023
1 parent 13aeb28 commit 0b6f2b5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ repos:
pass_filenames: false
additional_dependencies:
- homeassistant-stubs
- pywattbox[http,ip]==0.7.0
- pywattbox[http,ip]==0.7.1
- types-beautifulsoup4
12 changes: 6 additions & 6 deletions config/configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
default_config:

wattbox:
- host: !secret wattbox1_ip
name: wattbox1
scan_interval: 00:00:30
username: !secret wattbox1_username
password: !secret wattbox1_password
# - host: !secret wattbox1_ip
# name: wattbox1
# scan_interval: 00:00:30
# username: !secret wattbox1_username
# password: !secret wattbox1_password
- host: !secret wattbox2_ip
name: wattbox2
scan_interval: 00:00:30
Expand All @@ -18,4 +18,4 @@ logger:
logs:
custom_components.wattbox: debug
pywattbox: debug
scrapli: debug
# scrapli: debug
2 changes: 1 addition & 1 deletion custom_components/wattbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
TOPIC_UPDATE,
)

REQUIREMENTS: Final[List[str]] = ["pywattbox>=0.5.0"]
REQUIREMENTS: Final[List[str]] = ["pywattbox>=0.7.1"]

_LOGGER = logging.getLogger(__name__)

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 @@ -20,7 +20,7 @@
"scrapli"
],
"requirements": [
"pywattbox[http,ip]==0.7.0"
"pywattbox[http,ip]==0.7.1"
],
"version": "0.9.0"
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
homeassistant==2023.11.0
homeassistant-stubs==2023.11.0
pywattbox==0.7.0
pywattbox==0.7.1
ruff
pre-commit
# Issue with default_config, python3.11, and botocore
Expand Down

0 comments on commit 0b6f2b5

Please sign in to comment.