From e11560ce7f8af52515498edc362a2c16acb5d9f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 11:52:20 +0000 Subject: [PATCH 01/15] Bump ruff from 0.4.1 to 0.4.2 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.4.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.1...v0.4.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d1fe25d..14d9b2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.0 reorder-python-imports==3.12.0 -ruff==0.4.1 +ruff==0.4.2 From cd31f56e7a3920cb1625e8c6ed5e2d59f839162d Mon Sep 17 00:00:00 2001 From: Amos Yuen Date: Mon, 29 Apr 2024 23:41:16 +0000 Subject: [PATCH 02/15] Use async_create_task instead of async_add_job (#278) --- custom_components/tplink_deco/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tplink_deco/__init__.py b/custom_components/tplink_deco/__init__.py index e489441..5be7144 100644 --- a/custom_components/tplink_deco/__init__.py +++ b/custom_components/tplink_deco/__init__.py @@ -163,7 +163,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry): deco_coordinator = data[COORDINATOR_DECOS_KEY] for platform in PLATFORMS: - hass.async_add_job( + config_entry.async_create_task( hass.config_entries.async_forward_entry_setup(config_entry, platform) ) From 8d3421799b27cf84f5d2286adfff6b043be987d4 Mon Sep 17 00:00:00 2001 From: Amos Yuen Date: Mon, 29 Apr 2024 23:47:21 +0000 Subject: [PATCH 03/15] Update README and issues to mention in Maintenance Mode --- .github/ISSUE_TEMPLATE/feature_request.md | 16 ------------ .github/ISSUE_TEMPLATE/feature_request.yml | 29 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/issue.yml | 8 ++++++ README.md | 7 ++++++ 4 files changed, 44 insertions(+), 16 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index a09db44..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..369c6da --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,29 @@ +name: Feature request +description: Suggest an idea for this project +body: + - type: markdown + attributes: + value: | + This issue form is for requestin feature requests only! + + > [!CAUTION] + > This integration is in MAINTENANCE MODE. + > + > I no longer have a deco unit so I cannot test this integration properly. + > I will not implement any new feature requests, you are still free to request them and see if anybody else wants to implement them. + > + > If anybody is interested in taking over this repo and maintaining it, please let me know. + - type: textarea + validations: + required: true + attributes: + label: Feature Request + description: >- + A clear and concise description of the problem and what you want to happen. + - type: textarea + validations: + required: true + attributes: + label: Alternatives + description: >- + A clear and concise description of any alternative solutions or features you've considered. diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml index 953e71e..df5605b 100644 --- a/.github/ISSUE_TEMPLATE/issue.yml +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -5,6 +5,14 @@ body: attributes: value: | This issue form is for reporting bugs only! + + > [!CAUTION] + > This integration is in MAINTENANCE MODE. + > + > I no longer have a deco unit so I cannot test this integration properly. + > I will only implement simple critical fixes required to keep the integration running. + > + > If anybody is interested in taking over this repo and maintaining it, please let me know. - type: textarea validations: required: true diff --git a/README.md b/README.md index 627aac8..3619a5a 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ [![Community Forum][forum-shield]][forum] +> [!CAUTION] +> This integration is in MAINTENANCE MODE. +> +> I no longer have a deco unit so I cannot test this integration properly. I will not implement any new feature requests and will only implement simple fixes required by Home Assistant. +> +> If anybody is interested in taking over this repo and maintaining it, please let me know. + ## Functionality This integration is a local polling integration that logs into the admin web UI for TP-Link Deco routers. Currently the only feature implemented is device trackers for active devices. From 3fd25489e55cd9338a2d0c6bd4f4785f11873de0 Mon Sep 17 00:00:00 2001 From: Amos Yuen Date: Mon, 29 Apr 2024 23:42:46 +0000 Subject: [PATCH 04/15] v3.6.1 --- custom_components/tplink_deco/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tplink_deco/manifest.json b/custom_components/tplink_deco/manifest.json index d19fafa..8029ca4 100644 --- a/custom_components/tplink_deco/manifest.json +++ b/custom_components/tplink_deco/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/amosyuen/ha-tplink-deco/issues", "requirements": ["pycryptodome>=3.12.0"], - "version": "3.6.0" + "version": "3.6.1" } From 538e02a2cdbebeb8e09a519f6fbf5940889b8656 Mon Sep 17 00:00:00 2001 From: Amos Yuen Date: Mon, 6 May 2024 06:10:32 +0000 Subject: [PATCH 05/15] Fix startup error with async_create_task --- custom_components/tplink_deco/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tplink_deco/__init__.py b/custom_components/tplink_deco/__init__.py index 5be7144..e91acbd 100644 --- a/custom_components/tplink_deco/__init__.py +++ b/custom_components/tplink_deco/__init__.py @@ -164,7 +164,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry): for platform in PLATFORMS: config_entry.async_create_task( - hass.config_entries.async_forward_entry_setup(config_entry, platform) + hass, hass.config_entries.async_forward_entry_setup(config_entry, platform) ) async def async_reboot_deco(service: ServiceCall) -> None: From 65f5481fe8fdefb07dc377b88c286b8f5b2d8fb1 Mon Sep 17 00:00:00 2001 From: Amos Yuen Date: Mon, 6 May 2024 06:11:03 +0000 Subject: [PATCH 06/15] v3.6.2 --- custom_components/tplink_deco/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tplink_deco/manifest.json b/custom_components/tplink_deco/manifest.json index 8029ca4..132f04a 100644 --- a/custom_components/tplink_deco/manifest.json +++ b/custom_components/tplink_deco/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/amosyuen/ha-tplink-deco/issues", "requirements": ["pycryptodome>=3.12.0"], - "version": "3.6.1" + "version": "3.6.2" } From 40544997b7dd335c9e661e727e06082623d4be88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 11:52:00 +0000 Subject: [PATCH 07/15] Bump ruff from 0.4.2 to 0.4.3 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.2 to 0.4.3. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.2...v0.4.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 14d9b2f..18fd344 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.0 reorder-python-imports==3.12.0 -ruff==0.4.2 +ruff==0.4.3 From d3af5a8beed6ee53eb07910db3fb32485c0e405b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 11:29:14 +0000 Subject: [PATCH 08/15] Bump ruff from 0.4.3 to 0.4.4 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 18fd344..c9d1603 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.0 reorder-python-imports==3.12.0 -ruff==0.4.3 +ruff==0.4.4 From 2eec4bfbf44f0d518c87a1f08d18a3142d195e8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 11:30:02 +0000 Subject: [PATCH 09/15] Bump pre-commit from 3.7.0 to 3.7.1 Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.0 to 3.7.1. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9d1603..35ac6ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,6 @@ colorlog==6.8.2 flake8==6.1.0 homeassistant==2023.6.0 pip>=21.0,<23.2 -pre-commit==3.7.0 +pre-commit==3.7.1 reorder-python-imports==3.12.0 ruff==0.4.4 From 79749b93bd11642310471abd9d5a79f24a0d64cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 11:57:56 +0000 Subject: [PATCH 10/15] Bump ruff from 0.4.4 to 0.4.5 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.5) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 35ac6ac..5a5d2bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 reorder-python-imports==3.12.0 -ruff==0.4.4 +ruff==0.4.5 From edf8f553017f56419823826f2823b30edde860cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:54:43 +0000 Subject: [PATCH 11/15] Bump ruff from 0.4.5 to 0.4.7 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.5 to 0.4.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.5...v0.4.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a5d2bb..c5900ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 reorder-python-imports==3.12.0 -ruff==0.4.5 +ruff==0.4.7 From 3929738932b1f98f16ed675ef3391f551a987b0f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:56:24 +0000 Subject: [PATCH 12/15] Bump reorder-python-imports from 3.12.0 to 3.13.0 Bumps [reorder-python-imports](https://github.com/asottile/reorder-python-imports) from 3.12.0 to 3.13.0. - [Commits](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.13.0) --- updated-dependencies: - dependency-name: reorder-python-imports dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c5900ec..0fc90fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ flake8==6.1.0 homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 -reorder-python-imports==3.12.0 +reorder-python-imports==3.13.0 ruff==0.4.7 From 523d5201d8a958c2e1a7d55d2273737b208680da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:16:10 +0000 Subject: [PATCH 13/15] Bump ruff from 0.4.7 to 0.4.8 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.7 to 0.4.8. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.7...v0.4.8) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0fc90fc..f652f8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 reorder-python-imports==3.13.0 -ruff==0.4.7 +ruff==0.4.8 From 985f27dd011d00c4dd2deda3c6d19d1f59da5eb9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 11:34:32 +0000 Subject: [PATCH 14/15] Bump ruff from 0.4.8 to 0.4.9 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.8 to 0.4.9. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.8...v0.4.9) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f652f8c..a632742 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 reorder-python-imports==3.13.0 -ruff==0.4.8 +ruff==0.4.9 From 84d1838d9b294d47cf85351603cde96a5082b658 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 11:03:11 +0000 Subject: [PATCH 15/15] Bump ruff from 0.4.9 to 0.4.10 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.9 to 0.4.10. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.9...v0.4.10) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a632742..c411ebb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ homeassistant==2023.6.0 pip>=21.0,<23.2 pre-commit==3.7.1 reorder-python-imports==3.13.0 -ruff==0.4.9 +ruff==0.4.10