From 701f021adab2bdf2013af7b228724f754bad8de7 Mon Sep 17 00:00:00 2001 From: Michiel Fokke Date: Mon, 6 Jan 2025 15:41:05 +0000 Subject: [PATCH 1/2] Fix regression of GS308EPP detection. --- README.md | 1 + custom_components/netgear_plus/manifest.json | 4 ++-- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 76456a9..e16c123 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ some basic configuration updates. | GS105Ev3 | 5 | ? | | | GS108Ev3 | 8 | V2.00.05, V2.06.10, V2.06.17, V2.06.24 | V2.06.01 - V2.06.03 | | GS305EP | 5 | V1.0.1.1 | | +| GS305EPP | 5 | V1.0.1.1 | | | GS308EP | 8 | V1.0.0.10, V1.0.1.4 | | | GS308EPP | 8 | ? | | | GS316EP | 16 | v1.0.4.4 | | diff --git a/custom_components/netgear_plus/manifest.json b/custom_components/netgear_plus/manifest.json index 0d588c8..286088c 100644 --- a/custom_components/netgear_plus/manifest.json +++ b/custom_components/netgear_plus/manifest.json @@ -6,12 +6,12 @@ "documentation": "https://github.com/ckarrie/ha-netgear-plus/blob/main/README.md", "iot_class": "local_polling", "issue_tracker": "https://github.com/ckarrie/ha-netgear-plus/issues", - "requirements": ["lxml>=4.6.1", "py-netgear-plus==0.3.1pre1"], + "requirements": ["lxml>=4.6.1", "py-netgear-plus==0.3.1pre3"], "ssdp": [ { "manufacturer": "NETGEAR", "deviceType": "urn:schemas-upnp-org:device:InternetGatewayDevice:1" } ], - "version": "0.7.1pre0" + "version": "0.7.1pre3" } diff --git a/requirements.txt b/requirements.txt index 1a2ee3a..4f944fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ colorlog==6.9.0 homeassistant==2024.12.5 lxml>=4.6.1 -py-netgear-plus==0.3.1pre1 +py-netgear-plus==0.3.1pre3 pip>=21.3.1 ruff==0.8.4 From 622eda9a886a9613c6985d89913a0752c2167795 Mon Sep 17 00:00:00 2001 From: Michiel Fokke Date: Mon, 6 Jan 2025 15:43:00 +0000 Subject: [PATCH 2/2] Remove ANN101 --- .ruff.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index 8ea6a71..1955430 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -8,7 +8,6 @@ select = [ ] ignore = [ - "ANN101", # Missing type annotation for `self` in method "ANN401", # Dynamically typed expressions (typing.Any) are disallowed "D203", # no-blank-line-before-class (incompatible with formatter) "D212", # multi-line-summary-first-line (incompatible with formatter)