From bf7a05855f353b40f05bd28289839d83307712b0 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 30 Sep 2023 08:58:33 +0000 Subject: [PATCH 01/21] Update badge --- README_EXAMPLE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README_EXAMPLE.md b/README_EXAMPLE.md index 566d4dd..acaf6ae 100644 --- a/README_EXAMPLE.md +++ b/README_EXAMPLE.md @@ -4,12 +4,12 @@ [![GitHub Activity][commits-shield]][commits] [![License][license-shield]](LICENSE) -[![hacs][hacsbadge]][hacs] ![Project Maintenance][maintenance-shield] [![BuyMeCoffee][buymecoffeebadge]][buymecoffee] [![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum] +[![Open this repository in HACS][hacsbadge]][hacs_my] _Integration to integrate with [integration_blueprint][integration_blueprint]._ @@ -46,8 +46,8 @@ If you want to contribute to this please read the [Contribution guidelines](CONT [buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge [commits-shield]: https://img.shields.io/github/commit-activity/y/ludeeus/integration_blueprint.svg?style=for-the-badge [commits]: https://github.com/ludeeus/integration_blueprint/commits/main -[hacs]: https://github.com/hacs/integration -[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge +[hacs_my]: https://my.home-assistant.io/redirect/hacs_repository/?owner=ludeeus&repository=integration_blueprint&category=integration +[hacsbadge]: https://my.home-assistant.io/badges/hacs_repository.svg [discord]: https://discord.gg/Qa5fW2R [discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge [exampleimg]: example.png From 8b2c72f0bf1101cd7a5b54cab60685766b26dd7a Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sun, 1 Oct 2023 16:43:45 +0000 Subject: [PATCH 02/21] Remove my badge --- README_EXAMPLE.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README_EXAMPLE.md b/README_EXAMPLE.md index acaf6ae..e6fe2c5 100644 --- a/README_EXAMPLE.md +++ b/README_EXAMPLE.md @@ -9,7 +9,6 @@ [![Discord][discord-shield]][discord] [![Community Forum][forum-shield]][forum] -[![Open this repository in HACS][hacsbadge]][hacs_my] _Integration to integrate with [integration_blueprint][integration_blueprint]._ @@ -46,8 +45,6 @@ If you want to contribute to this please read the [Contribution guidelines](CONT [buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge [commits-shield]: https://img.shields.io/github/commit-activity/y/ludeeus/integration_blueprint.svg?style=for-the-badge [commits]: https://github.com/ludeeus/integration_blueprint/commits/main -[hacs_my]: https://my.home-assistant.io/redirect/hacs_repository/?owner=ludeeus&repository=integration_blueprint&category=integration -[hacsbadge]: https://my.home-assistant.io/badges/hacs_repository.svg [discord]: https://discord.gg/Qa5fW2R [discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge [exampleimg]: example.png From 13b2af8eae9839ec614e4140a9811886e0ec1d74 Mon Sep 17 00:00:00 2001 From: Anton Verburg <47820045+antonverburg@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:24:12 +0200 Subject: [PATCH 03/21] Update .devcontainer.json: upgrade to python3.11 (#135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should upgrade the dev container to python 3.11 (has been tested on my own PC, seems to work). This would fix https://github.com/ludeeus/integration_blueprint/issues/134 --------- Co-authored-by: Joakim Sørensen --- .devcontainer.json | 2 +- .github/workflows/lint.yml | 2 +- hacs.json | 4 ++-- requirements.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index 9fda616..c70f1f5 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,6 +1,6 @@ { "name": "ludeeus/integration_blueprint", - "image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye", + "image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye", "postCreateCommand": "scripts/setup", "forwardPorts": [ 8123 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 28f9fce..852226c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - name: "Set up Python" uses: actions/setup-python@v4.6.1 with: - python-version: "3.10" + python-version: "3.11" cache: "pip" - name: "Install requirements" diff --git a/hacs.json b/hacs.json index 65f7335..0c12f64 100644 --- a/hacs.json +++ b/hacs.json @@ -2,7 +2,7 @@ "name": "Integration blueprint", "filename": "integration_blueprint.zip", "hide_default_branch": true, - "homeassistant": "2023.3.0", + "homeassistant": "2023.8.0", "render_readme": true, "zip_release": true -} \ No newline at end of file +} diff --git a/requirements.txt b/requirements.txt index bb09464..ad6f856 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ colorlog==6.7.0 -homeassistant==2023.2.0 +homeassistant==2023.8.0 pip>=21.0,<23.2 ruff==0.0.267 From d33bba4d42e65526d813160f24b1a31708b15c3c Mon Sep 17 00:00:00 2001 From: Scott Giminiani Date: Sun, 8 Oct 2023 08:24:58 -0700 Subject: [PATCH 04/21] Minor grammatical fixes to bug.yml (#114) Made a few mostly minor grammatical fixes while adding this to my project. --- .github/ISSUE_TEMPLATE/bug.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 9c65fef..92fe7a5 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -9,7 +9,7 @@ body: - type: textarea attributes: label: "System Health details" - description: "Paste the data from the System Health card in Home Assistant (https://www.home-assistant.io//more-info/system-health#github-issues)" + description: "Paste the data from the System Health card in Home Assistant (https://www.home-assistant.io/more-info/system-health#github-issues)" validations: required: true - type: checkboxes @@ -22,7 +22,7 @@ body: required: true - label: This issue only contains 1 issue (if you have multiple issues, open one issue for each issue). required: true - - label: This issue is not a duplicate issue of currently [previous issues](https://github.com/ludeeus/integration_blueprint/issues?q=is%3Aissue+label%3A%22Bug%22+).. + - label: This issue is not a duplicate issue of any [previous issues](https://github.com/ludeeus/integration_blueprint/issues?q=is%3Aissue+label%3A%22Bug%22+).. required: true - type: textarea attributes: @@ -33,7 +33,7 @@ body: - type: textarea attributes: label: Reproduction steps - description: "Without steps to reproduce, it will be hard to fix, it is very important that you fill out this part, issues without it will be closed" + description: "Without steps to reproduce, it will be hard to fix. It is very important that you fill out this part. Issues without it will be closed." value: | 1. 2. From 1f650531d50b7b353dd5c4590cd7e8cfc991e083 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:35:24 +0200 Subject: [PATCH 05/21] Bump actions/checkout from 3.5.2 to 4.1.0 (#137) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 4.0.0.
Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v4.0.0

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.3...v3.6.0

v3.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v3.5.3

Changelog

Sourced from actions/checkout's changelog.

v4.0.0

v3.6.0

v3.5.3

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.2&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joakim Sørensen --- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 852226c..3d8cc90 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.2" + uses: "actions/checkout@v4.1.0" - name: "Set up Python" uses: actions/setup-python@v4.6.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2ac43a..5f27118 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: contents: write steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.2" + uses: "actions/checkout@v4.1.0" - name: "Adjust version number" shell: "bash" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6d257aa..3f643d1 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.2" + uses: "actions/checkout@v4.1.0" - name: "Run hassfest validation" uses: "home-assistant/actions/hassfest@master" @@ -27,7 +27,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v3.5.2" + uses: "actions/checkout@v4.1.0" - name: "Run HACS validation" uses: "hacs/action@main" From bd166b4eea3adc4310197e6d2a8c63b0495631ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:38:41 +0200 Subject: [PATCH 06/21] Bump actions/setup-python from 4.6.1 to 4.7.1 (#138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.1.
Release notes

Sourced from actions/setup-python's releases.

v4.7.1

What's Changed

Full Changelog: https://github.com/actions/setup-python/compare/v4...v4.7.1

v4.7.0

In scope of this release, the support for reading python version from pyproject.toml was added (actions/setup-python#669).

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version-file: pyproject.toml

Besides, it includes such changes as:

New Contributors

Full Changelog: https://github.com/actions/setup-python/compare/v4...v4.7.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=4.6.1&new-version=4.7.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3d8cc90..25bf6cc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: uses: "actions/checkout@v4.1.0" - name: "Set up Python" - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: "3.11" cache: "pip" From 7a11f7b0837e7b069111d8903babe22bd69c1456 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:38:50 +0200 Subject: [PATCH 07/21] Bump ruff from 0.0.267 to 0.0.292 (#139) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.267 to 0.0.292.
Release notes

Sourced from ruff's releases.

v0.0.292

What's Changed

Highlights

This release includes full support for Python 3.12 (out now!), including the new type parameter (PEP 695) and f-string syntaxes (PEP 701).

PEP 701 lifts many of the restrictions on f-strings that existed in the past, allowing for arbitrarily nested f-strings, consistent quote style within f-strings, and more, all of which are now supported by Ruff (thanks to @​dhruvmanila in astral-sh/ruff#7376).

Breaking Changes

  • In the formatter, format.quote-style no longer affects triple-quoted strings, to align with common conventions as well as the guidance from PEP 8 and PEP 257 (see: astral-sh/ruff#7680).
  • line-too-long (E501) now ignores trailing pragma comments (like # type: ignore and # noqa) when computing line length (see: astral-sh/ruff#7692). This is similar to flake8-bugbear's methodology for detecting overlong lines, and ensures that adding pragmas like # noqa does not introduce further lint errors.

Rules

Settings

Bug Fixes

... (truncated)

Changelog

Sourced from ruff's changelog.

Breaking Changes

0.0.288

Remove support for emoji identifiers (#7212)

Previously, Ruff supported the non-standard compliant emoji identifiers e.g. 📦 = 1. We decided to remove this non-standard language extension, and Ruff now reports syntax errors for emoji identifiers in your code, the same as CPython.

Improved GitLab fingerprints (#7203)

GitLab uses fingerprints to identify new, existing, or fixed violations. Previously, Ruff included the violation's position in the fingerprint. Using the location has the downside that changing any code before the violation causes the fingerprint to change, resulting in GitLab reporting one fixed and one new violation even though it is a pre-existing violation.

Ruff now uses a more stable location-agnostic fingerprint to minimize that existing violations incorrectly get marked as fixed and re-reported as new violations.

Expect GitLab to report each pre-existing violation in your project as fixed and a new violation in your Ruff upgrade PR.

0.0.283 / 0.284

The target Python version now defaults to 3.8 instead of 3.10 (#6397)

Previously, when a target Python version was not specified, Ruff would use a default of Python 3.10. However, it is safer to default to an older Python version to avoid assuming the availability of new features. We now default to the oldest supported Python version which is currently Python 3.8.

(We still support Python 3.7 but since it has reached EOL we've decided not to make it the default here.)

Note this change was announced in 0.0.283 but not active until 0.0.284.

0.0.277

.ipynb_checkpoints, .pyenv, .pytest_cache, and .vscode are now excluded by default (#5513)

Ruff maintains a list of default exclusions, which now consists of the following patterns:

  • .bzr
  • .direnv
  • .eggs
  • .git
  • .git-rewrite
  • .hg
  • .ipynb_checkpoints
  • .mypy_cache
  • .nox
  • .pants.d
  • .pyenv
  • .pytest_cache
  • .pytype
  • .ruff_cache
  • .svn
  • .tox
  • .venv

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.0.267&new-version=0.0.292)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ad6f856..96d2c84 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ colorlog==6.7.0 homeassistant==2023.8.0 pip>=21.0,<23.2 -ruff==0.0.267 +ruff==0.0.292 From e269d8b054e3d6cccaab9d6299b19825b76b33f8 Mon Sep 17 00:00:00 2001 From: misa1515 <61636045+misa1515@users.noreply.github.com> Date: Wed, 20 Dec 2023 08:31:25 +0100 Subject: [PATCH 08/21] Create sk.json --- .../integration_blueprint/translations/sk.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 custom_components/integration_blueprint/translations/sk.json diff --git a/custom_components/integration_blueprint/translations/sk.json b/custom_components/integration_blueprint/translations/sk.json new file mode 100644 index 0000000..8448636 --- /dev/null +++ b/custom_components/integration_blueprint/translations/sk.json @@ -0,0 +1,18 @@ +{ + "config": { + "step": { + "user": { + "description": "Ak potrebujete pomoc s konfiguráciou, pozrite sa sem: https://github.com/ludeeus/integration_blueprint", + "data": { + "username": "Užívateľské meno", + "password": "Heslo" + } + } + }, + "error": { + "auth": "Používateľské meno/heslo je nesprávne.", + "connection": "Nedá sa pripojiť k serveru.", + "unknown": "Vyskytla sa neznáma chyba." + } + } +} From 5073b8e55c3419da80d1924e32b5ed16cd649080 Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Mon, 26 Feb 2024 23:22:08 +0300 Subject: [PATCH 09/21] Update blueprint update script --- scripts/update | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update b/scripts/update index c012e41..312ec4e 100755 --- a/scripts/update +++ b/scripts/update @@ -9,8 +9,12 @@ cd "${ROOT}" if git branch -r | grep -q "blueprint/dev" ; then git fetch blueprint dev +elif git branch -r | grep -q "blueprint/develop" ; then + git fetch blueprint develop elif git branch -r | grep -q "blueprint/master" ; then git fetch blueprint master +elif git branch -r | grep -q "blueprint/main" ; then + git fetch blueprint main fi git fetch From fd8afc1390a0e22f816b74d464e05311f2c8f10f Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Mon, 26 Feb 2024 23:34:17 +0300 Subject: [PATCH 10/21] Update requirements --- custom_components/integration_blueprint/manifest.json | 10 +++++----- requirements-test.txt | 1 + requirements.txt | 2 -- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/custom_components/integration_blueprint/manifest.json b/custom_components/integration_blueprint/manifest.json index 778e651..2825473 100644 --- a/custom_components/integration_blueprint/manifest.json +++ b/custom_components/integration_blueprint/manifest.json @@ -1,6 +1,6 @@ { - "domain": "integration_blueprint", - "name": "Integration blueprint", + "domain": "", + "name": "", "codeowners": [ "@Limych" ], @@ -8,7 +8,7 @@ "dependencies": [], "documentation": "https://github.com/Limych/ha-blueprint", "iot_class": "cloud_polling", - "issue_tracker": "https://github.com/Limych/ha-blueprint/issues", + "issue_tracker": "", "requirements": [], - "version": "0.1.0" -} + "version": "" +} \ No newline at end of file diff --git a/requirements-test.txt b/requirements-test.txt index b4ce9f3..576eab0 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,6 @@ -r requirements.txt asynctest~=0.13 +colorlog~=6.7 flake8~=6.1 flake8-docstrings~=1.7 mypy==1.7.0 diff --git a/requirements.txt b/requirements.txt index 2a9b121..a89241a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,2 @@ -colorlog==6.7.0 homeassistant>=2023.8.0 pip>=21.0,<23.2 -ruff==0.0.292 From f6cb1ac3a147ccf106fc20353a5efe822710988b Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Mon, 26 Feb 2024 23:39:26 +0300 Subject: [PATCH 11/21] Update Python versions for testing workflow --- .github/workflows/py-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/py-test.yml b/.github/workflows/py-test.yml index 6928bf6..bc1af6e 100644 --- a/.github/workflows/py-test.yml +++ b/.github/workflows/py-test.yml @@ -67,11 +67,11 @@ jobs: strategy: max-parallel: 3 matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.11', '3.12'] experimental: [false] - include: - - python-version: '3.12' - experimental: true +# include: +# - python-version: '3.12' +# experimental: true steps: - name: "Checkout code" uses: actions/checkout@v4 From 02c8e134a0a3e689f48f8653d971fc955902796f Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Mon, 26 Feb 2024 23:53:26 +0300 Subject: [PATCH 12/21] Update requirements --- custom_components/integration_blueprint/manifest.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/integration_blueprint/manifest.json b/custom_components/integration_blueprint/manifest.json index 2825473..ff51972 100644 --- a/custom_components/integration_blueprint/manifest.json +++ b/custom_components/integration_blueprint/manifest.json @@ -9,6 +9,8 @@ "documentation": "https://github.com/Limych/ha-blueprint", "iot_class": "cloud_polling", "issue_tracker": "", - "requirements": [], + "requirements": [ + "async-timeout" + ], "version": "" } \ No newline at end of file From eaabfeaa2ff4d34c5122d0d8bad7669efc4f94f4 Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Tue, 27 Feb 2024 00:10:48 +0300 Subject: [PATCH 13/21] Update requirements --- custom_components/integration_blueprint/manifest.json | 4 +--- requirements-test.txt | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/integration_blueprint/manifest.json b/custom_components/integration_blueprint/manifest.json index ff51972..2825473 100644 --- a/custom_components/integration_blueprint/manifest.json +++ b/custom_components/integration_blueprint/manifest.json @@ -9,8 +9,6 @@ "documentation": "https://github.com/Limych/ha-blueprint", "iot_class": "cloud_polling", "issue_tracker": "", - "requirements": [ - "async-timeout" - ], + "requirements": [], "version": "" } \ No newline at end of file diff --git a/requirements-test.txt b/requirements-test.txt index 576eab0..479ef42 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ -r requirements.txt +async-timeout asynctest~=0.13 colorlog~=6.7 flake8~=6.1 From 5489d6466775770b9bcc5ce6921f410d742dd9af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:14:29 +0000 Subject: [PATCH 14/21] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- .github/workflows/py-dead-code.yml | 2 +- .github/workflows/py-test.yml | 4 ++-- .github/workflows/release.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 25bf6cc..091336c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: uses: "actions/checkout@v4.1.0" - name: "Set up Python" - uses: actions/setup-python@v4.7.1 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "pip" diff --git a/.github/workflows/py-dead-code.yml b/.github/workflows/py-dead-code.yml index 1453ec6..87cad47 100644 --- a/.github/workflows/py-dead-code.yml +++ b/.github/workflows/py-dead-code.yml @@ -15,7 +15,7 @@ jobs: echo "package=$(ls -F | grep \/$ | grep -v "scripts\|examples\|tests\|config" | sed -n "s/\///g;1p")" >> $GITHUB_ENV - name: "Set up Python" - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' diff --git a/.github/workflows/py-test.yml b/.github/workflows/py-test.yml index bc1af6e..bf31ef0 100644 --- a/.github/workflows/py-test.yml +++ b/.github/workflows/py-test.yml @@ -23,7 +23,7 @@ jobs: echo "package=$(ls -F | grep \/$ | grep -v "bin\|examples\|tests" | sed -n "s/\///g;1p")" >> $GITHUB_ENV - name: "Set up Python" - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' @@ -77,7 +77,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5177d..2ab2ea0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: - name: "Set up Python" if: env.release_version != '' && success() - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 From 91df910b8f069d4d4f56bacbba7ed940da7ea646 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:15:27 +0000 Subject: [PATCH 15/21] Bump black from 23.11.0 to 24.2.0 Bumps [black](https://github.com/psf/black) from 23.11.0 to 24.2.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.11.0...24.2.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 8ac7c09..fba84bb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -r requirements-test.txt -black==23.11.0 +black==24.2.0 packaging==23.2 pre-commit~=3.5 PyGithub~=2.1 From 360a46537e326b191e4bac24e6d8458b9f87c52e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:15:31 +0000 Subject: [PATCH 16/21] Update flake8 requirement from ~=6.1 to ~=7.0 Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version. - [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 479ef42..abbda82 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -2,7 +2,7 @@ async-timeout asynctest~=0.13 colorlog~=6.7 -flake8~=6.1 +flake8~=7.0 flake8-docstrings~=1.7 mypy==1.7.0 pylint~=3.0 From 5a75952b3a556ba9c57be936e25029c64ceb954a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:15:35 +0000 Subject: [PATCH 17/21] Update pygithub requirement from ~=2.1 to ~=2.2 Updates the requirements on [pygithub](https://github.com/pygithub/pygithub) to permit the latest version. - [Release notes](https://github.com/pygithub/pygithub/releases) - [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst) - [Commits](https://github.com/pygithub/pygithub/compare/v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: pygithub dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 8ac7c09..d64162e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,6 +2,6 @@ black==23.11.0 packaging==23.2 pre-commit~=3.5 -PyGithub~=2.1 +PyGithub~=2.2 pyupgrade~=3.15 yamllint~=1.33 From 12263bae3653d81844eeb7e9ad1279fc7e345393 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:15:37 +0000 Subject: [PATCH 18/21] Bump actions/cache from 3 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/py-dead-code.yml | 2 +- .github/workflows/py-test.yml | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/py-dead-code.yml b/.github/workflows/py-dead-code.yml index 1453ec6..187b800 100644 --- a/.github/workflows/py-dead-code.yml +++ b/.github/workflows/py-dead-code.yml @@ -20,7 +20,7 @@ jobs: python-version: '3.9' - name: "Cache pip" - uses: actions/cache@v3 + uses: actions/cache@v4 with: # This path is specific to Ubuntu path: ~/.cache/pip diff --git a/.github/workflows/py-test.yml b/.github/workflows/py-test.yml index bc1af6e..9a38bd7 100644 --- a/.github/workflows/py-test.yml +++ b/.github/workflows/py-test.yml @@ -28,7 +28,7 @@ jobs: python-version: '3.11' - name: "Cache pip" - uses: actions/cache@v3 + uses: actions/cache@v4 with: # This path is specific to Ubuntu path: ~/.cache/pip @@ -82,7 +82,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: "Cache pip" - uses: actions/cache@v3 + uses: actions/cache@v4 with: # This path is specific to Ubuntu path: ~/.cache/pip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5177d..44526f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: - name: "Cache pip" if: env.release_version != '' && success() - uses: actions/cache@v3 + uses: actions/cache@v4 with: # This path is specific to Ubuntu path: ~/.cache/pip From 5f2f02645d40e7b23e2673f24f813c164aac9165 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:16:02 +0000 Subject: [PATCH 19/21] Bump mypy from 1.7.0 to 1.8.0 Bumps [mypy](https://github.com/python/mypy) from 1.7.0 to 1.8.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 479ef42..d1106fe 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -4,7 +4,7 @@ asynctest~=0.13 colorlog~=6.7 flake8~=6.1 flake8-docstrings~=1.7 -mypy==1.7.0 +mypy==1.8.0 pylint~=3.0 pylint-strict-informational==0.1 pytest>=7.2 From 509138de6bbaabca095bb52e888d7a07c8ff5785 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:16:13 +0000 Subject: [PATCH 20/21] Bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 03c8954..60e04b6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -69,4 +69,4 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From e91a15d5ff0918a038a6d8bc2eb662bafe830e07 Mon Sep 17 00:00:00 2001 From: Andrey Khrolenok Date: Tue, 27 Feb 2024 00:17:57 +0300 Subject: [PATCH 21/21] Update find dead code workflow --- .github/workflows/py-dead-code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/py-dead-code.yml b/.github/workflows/py-dead-code.yml index 1453ec6..5b0f564 100644 --- a/.github/workflows/py-dead-code.yml +++ b/.github/workflows/py-dead-code.yml @@ -17,7 +17,7 @@ jobs: - name: "Set up Python" uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.11' - name: "Cache pip" uses: actions/cache@v3