From 0b6f2b52b805ccf3b86008933e40a7c565171d76 Mon Sep 17 00:00:00 2001 From: Erik Seglem Date: Mon, 20 Nov 2023 19:50:18 +0000 Subject: [PATCH] Adjust pywattbox version to remove ssh2-python. --- .pre-commit-config.yaml | 2 +- config/configuration.yaml | 12 ++++++------ custom_components/wattbox/__init__.py | 2 +- custom_components/wattbox/manifest.json | 2 +- requirements.txt | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1679f91..51a37c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/config/configuration.yaml b/config/configuration.yaml index e487224..5402d81 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -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 @@ -18,4 +18,4 @@ logger: logs: custom_components.wattbox: debug pywattbox: debug - scrapli: debug + # scrapli: debug diff --git a/custom_components/wattbox/__init__.py b/custom_components/wattbox/__init__.py index ce46115..82e119a 100644 --- a/custom_components/wattbox/__init__.py +++ b/custom_components/wattbox/__init__.py @@ -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__) diff --git a/custom_components/wattbox/manifest.json b/custom_components/wattbox/manifest.json index c945e3d..ca595bd 100644 --- a/custom_components/wattbox/manifest.json +++ b/custom_components/wattbox/manifest.json @@ -20,7 +20,7 @@ "scrapli" ], "requirements": [ - "pywattbox[http,ip]==0.7.0" + "pywattbox[http,ip]==0.7.1" ], "version": "0.9.0" } diff --git a/requirements.txt b/requirements.txt index e8b4f4a..243bb58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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