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. diff --git a/custom_components/tplink_deco/__init__.py b/custom_components/tplink_deco/__init__.py index e489441..e91acbd 100644 --- a/custom_components/tplink_deco/__init__.py +++ b/custom_components/tplink_deco/__init__.py @@ -163,8 +163,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry): deco_coordinator = data[COORDINATOR_DECOS_KEY] for platform in PLATFORMS: - hass.async_add_job( - hass.config_entries.async_forward_entry_setup(config_entry, platform) + config_entry.async_create_task( + hass, hass.config_entries.async_forward_entry_setup(config_entry, platform) ) async def async_reboot_deco(service: ServiceCall) -> None: diff --git a/custom_components/tplink_deco/manifest.json b/custom_components/tplink_deco/manifest.json index d19fafa..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.0" + "version": "3.6.2" } diff --git a/requirements.txt b/requirements.txt index d1fe25d..c411ebb 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 -reorder-python-imports==3.12.0 -ruff==0.4.1 +pre-commit==3.7.1 +reorder-python-imports==3.13.0 +ruff==0.4.10