From 16655da34c777fd20c1fef3442caef4de065699e Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Thu, 14 May 2026 02:35:21 -0600 Subject: [PATCH] hacs: switch canonical URLs to github.com/rsp2k/omni-pca + add validation CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - manifest.json documentation/issue_tracker → GitHub (where HACS users land) - README install instructions → `pip install omni-pca` (now on PyPI) - pyproject.toml URLs → Repository / Issues / Changelog / Documentation - custom_components README → HACS default-catalog install flow - .github/workflows/validate.yml: hacs/action + hassfest on push/PR/weekly Library remains importable from PyPI; integration tracks the same release tag. --- .github/workflows/validate.yml | 26 ++++++++++++++++++++++++ CHANGELOG.md | 2 +- README.md | 16 +++++---------- custom_components/omni_pca/README.md | 16 ++++++++------- custom_components/omni_pca/manifest.json | 4 ++-- pyproject.toml | 5 ++++- 6 files changed, 47 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..4c2b0dd --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,26 @@ +name: Validate + +on: + push: + branches: [main] + pull_request: + schedule: + - cron: "0 4 * * 1" # weekly Monday 04:00 UTC + workflow_dispatch: + +jobs: + hacs: + name: HACS validation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: hacs/action@main + with: + category: integration + + hassfest: + name: Hassfest + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: home-assistant/actions/hassfest@master diff --git a/CHANGELOG.md b/CHANGELOG.md index 3987f6b..5dea188 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,4 +82,4 @@ First release. Working library + Home Assistant custom component, validated end- - **PyPI publish**: `omni-pca` not yet on PyPI; HA `manifest.json` requirements line will only resolve once it is. For now users either install the wheel manually or pip-install from a Git URL. - **HACS submission**: pending live-panel validation. -[2026.5.10]: https://git.supported.systems/warehack.ing/omni-pca/releases/tag/v2026.5.10 +[2026.5.10]: https://github.com/rsp2k/omni-pca/releases/tag/v2026.5.10 diff --git a/README.md b/README.md index 46064c5..3eb51e5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Async Python client for HAI/Leviton Omni-Link II home automation panels — Omni Includes a Home Assistant custom component (`custom_components/omni_pca/`). -**Project home:** +**Project home:** **Documentation:** ## Status @@ -18,20 +18,14 @@ The full byte-level protocol spec lives at =2.2,<3"] omni-pca = "omni_pca.__main__:main" [project.urls] -Repository = "https://git.supported.systems/warehack.ing/omni-pca" +Repository = "https://github.com/rsp2k/omni-pca" +Issues = "https://github.com/rsp2k/omni-pca/issues" +Changelog = "https://github.com/rsp2k/omni-pca/blob/main/CHANGELOG.md" +Documentation = "https://hai-omni-pro-ii.warehack.ing/" [build-system] requires = ["uv_build>=0.11.8,<0.12.0"]