From 3b1eacbfae5c4d66b5b0fb0b575a2132678b4b9b Mon Sep 17 00:00:00 2001 From: RiDDiX Date: Sun, 25 Jan 2026 22:22:13 +0100 Subject: [PATCH] chore: update to riddix ownership and improve workflows --- .github/workflows/ci.yaml | 29 +++++++++ .github/workflows/release-addons.yaml | 91 ++++++++++++++++++++------- README.md | 30 +++------ hamh-beta/config.yaml | 56 ++++++++--------- hamh/config.yaml | 56 ++++++++--------- hamh76/config.yaml | 56 ++++++++--------- repository.yaml | 8 +-- 7 files changed, 194 insertions(+), 132 deletions(-) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..6a23536 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +jobs: + validate: + runs-on: ubuntu-latest + name: Validate Addon Config + steps: + - uses: actions/checkout@v4 + + - name: Validate hamh config + uses: home-assistant/actions/helpers/addon-info@master + with: + addon: hamh + + - name: Validate hamh-beta config + uses: home-assistant/actions/helpers/addon-info@master + with: + addon: hamh-beta + + - name: Validate hamh76 config + uses: home-assistant/actions/helpers/addon-info@master + with: + addon: hamh76 diff --git a/.github/workflows/release-addons.yaml b/.github/workflows/release-addons.yaml index 9928f70..1955ab7 100644 --- a/.github/workflows/release-addons.yaml +++ b/.github/workflows/release-addons.yaml @@ -1,15 +1,31 @@ -name: Release Home-Assistant-Matter-Hub +name: Release Home-Assistant-Matter-Hub + on: repository_dispatch: - event_name: release -# client_payload: + types: [release] + workflow_dispatch: + inputs: + project: + description: 'Project to release (hamh, hamh-beta)' + required: true + default: 'hamh' + version: + description: 'Version to release' + required: true + channel: + description: 'Release channel' + required: true + default: 'latest' + changelogUrl: + description: 'URL to changelog file' + required: false + +# client_payload from repository_dispatch: # project: "hamh" -# channel: "latest" | "beta" | "alpha" -# version: "3.0.0-alpha.33" +# channel: "latest" | "beta" +# version: "3.0.0" # changelogUrl: "https://..." - - jobs: release: runs-on: ubuntu-latest @@ -19,40 +35,73 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Get Version + + - name: Parse Event id: event_parser run: | - PROJECT="${{ github.event.client_payload.project }}" - CHANNEL="${{ github.event.client_payload.channel }}" + # Handle both repository_dispatch and workflow_dispatch + if [ "${{ github.event_name }}" = "repository_dispatch" ]; then + PROJECT="${{ github.event.client_payload.project }}" + CHANNEL="${{ github.event.client_payload.channel }}" + VERSION="${{ github.event.client_payload.version }}" + CHANGELOG_URL="${{ github.event.client_payload.changelogUrl }}" + else + PROJECT="${{ github.event.inputs.project }}" + CHANNEL="${{ github.event.inputs.channel }}" + VERSION="${{ github.event.inputs.version }}" + CHANGELOG_URL="${{ github.event.inputs.changelogUrl }}" + fi + + # Append channel to project name if not latest if [ "$CHANNEL" != "latest" ]; then PROJECT="$PROJECT-$CHANNEL" fi echo "project=$PROJECT" >> "$GITHUB_OUTPUT" echo "channel=$CHANNEL" >> "$GITHUB_OUTPUT" - echo "version=${{ github.event.client_payload.version }}" >> "$GITHUB_OUTPUT" - echo "changelogUrl=${{ github.event.client_payload.changelogUrl }}" >> "$GITHUB_OUTPUT" - + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + echo "changelogUrl=$CHANGELOG_URL" >> "$GITHUB_OUTPUT" + if [ ! -d "$PROJECT" ]; then - echo "No Project: $PROJECT" + echo "Error: Project directory '$PROJECT' does not exist" exit 1 fi - - run: | + + echo "Releasing $PROJECT version $VERSION (channel: $CHANNEL)" + + - name: Configure Git + run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - - name: Copy Changelog + + - name: Download and Update Changelog + if: steps.event_parser.outputs.changelogUrl != '' env: - CHANGELOG_FILE: ${{steps.event_parser.outputs.project}}/CHANGELOG.md + CHANGELOG_FILE: ${{ steps.event_parser.outputs.project }}/CHANGELOG.md run: | curl -L "${{ steps.event_parser.outputs.changelogUrl }}" > $CHANGELOG_FILE git add $CHANGELOG_FILE - - name: Apply release version + + - name: Update Version in config.yaml env: - CONFIG_FILE: ${{steps.event_parser.outputs.project}}/config.yaml + CONFIG_FILE: ${{ steps.event_parser.outputs.project }}/config.yaml run: | yq -i ".version = \"${{ steps.event_parser.outputs.version }}\"" $CONFIG_FILE git add $CONFIG_FILE - - name: Publish + + - name: Commit and Push run: | - git commit -m "bumb(${{steps.event_parser.outputs.project}}): bumb to version ${{ steps.event_parser.outputs.version }}" + git commit -m "release(${{ steps.event_parser.outputs.project }}): ${{ steps.event_parser.outputs.version }}" git push origin main + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: ${{ steps.event_parser.outputs.project }}-${{ steps.event_parser.outputs.version }} + name: ${{ steps.event_parser.outputs.project }} ${{ steps.event_parser.outputs.version }} + body: | + Release of ${{ steps.event_parser.outputs.project }} version ${{ steps.event_parser.outputs.version }} + + See the main project for detailed changelog: + https://github.com/riddix/home-assistant-matter-hub/releases + generate_release_notes: false diff --git a/README.md b/README.md index 4ec431d..a47b3c4 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,10 @@ -# Home Assistant Addons by t0bst4r +# Home Assistant Addons by riddix --- -> [!IMPORTANT] -> ⚠️ **Project Status: End of Maintenance** -> -> As of **January 2026**, this project is no longer actively maintained. -> -> I previously announced a search for a new maintainer, but unfortunately no one has stepped forward -> to take over the project. Due to personal time constraints, I am no longer able to continue development or provide support. -> -> **What this means:** -> - ❌ No further feature development -> - ❌ No bug fixes or updates -> - ❌ No guaranteed support -> -> The repository will remain available for reference and forking. -> -> 💡 I would be very happy to see this project continued by the community. -> If you plan to fork it and continue development: **may the best fork prevail.** -> -> Thank you to everyone who used, tested, and contributed to this project ❤️ +> [!NOTE] +> This repository is a fork of the original project by t0bst4r, which has been discontinued. +> I have taken over maintenance and will continue development. --- @@ -30,11 +14,11 @@ This repository provides the following addons for Home-Assistant: ## Installation -Simple add this repository to your Add On Store in Home-Assistant: +Simply add this repository to your Add-On Store in Home-Assistant: 1. Open the UI of your Home Assistant instance 2. Go to `Settings` -> `Add-Ons` -> `Add-On Store` 3. Click the three dots in the top-right corner and select `Repositories` -4. Paste the repository URL (`https://github.com/t0bst4r/home-assistant-addons`) into the text-field and click "Add" +4. Paste the repository URL (`https://github.com/riddix/home-assistant-addons`) into the text-field and click "Add" 5. Refresh your Add-On Store and Install the Add-On - + diff --git a/hamh-beta/config.yaml b/hamh-beta/config.yaml index a35ef7b..2387c9b 100644 --- a/hamh-beta/config.yaml +++ b/hamh-beta/config.yaml @@ -1,28 +1,28 @@ -version: "3.0.1-beta.5" -image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon -slug: hamh-beta -name: Home-Assistant-Matter-Hub (Beta) -description: Beta Releases of Home Assistant Matter Hub -url: https://github.com/t0bst4r/home-assistant-matter-hub -panel_icon: mdi:hub -panel_title: Matter Hub (Beta) -homeassistant: 2024.1.0 -homeassistant_api: true -host_network: true -init: false -arch: - - aarch64 - - amd64 - - armv7 -ingress: true -ingress_port: 0 -map: - - addon_config:rw -options: - app_log_level: info - disable_log_colors: false - mdns_network_interface: "" -schema: - app_log_level: list(silly|debug|info|notice|warn|error|fatal) - disable_log_colors: bool - mdns_network_interface: "str?" +version: "3.0.1-beta.5" +image: ghcr.io/riddix/home-assistant-matter-hub-addon +slug: hamh-beta +name: Home-Assistant-Matter-Hub (Beta) +description: Beta Releases of Home Assistant Matter Hub +url: https://github.com/riddix/home-assistant-matter-hub +panel_icon: mdi:hub +panel_title: Matter Hub (Beta) +homeassistant: 2024.1.0 +homeassistant_api: true +host_network: true +init: false +arch: + - aarch64 + - amd64 + - armv7 +ingress: true +ingress_port: 0 +map: + - addon_config:rw +options: + app_log_level: info + disable_log_colors: false + mdns_network_interface: "" +schema: + app_log_level: list(silly|debug|info|notice|warn|error|fatal) + disable_log_colors: bool + mdns_network_interface: "str?" diff --git a/hamh/config.yaml b/hamh/config.yaml index 4e92ab8..7264a8e 100644 --- a/hamh/config.yaml +++ b/hamh/config.yaml @@ -1,28 +1,28 @@ -version: "3.0.4" -image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon -slug: hamh -name: Home-Assistant-Matter-Hub -description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home. -url: https://github.com/t0bst4r/home-assistant-matter-hub -panel_icon: mdi:hub -panel_title: Matter Hub -homeassistant: 2024.1.0 -homeassistant_api: true -host_network: true -init: false -arch: - - aarch64 - - amd64 - - armv7 -ingress: true -ingress_port: 0 -map: - - addon_config:rw -options: - app_log_level: info - disable_log_colors: false - mdns_network_interface: "" -schema: - app_log_level: list(silly|debug|info|notice|warn|error|fatal) - disable_log_colors: bool - mdns_network_interface: "str?" +version: "3.0.4" +image: ghcr.io/riddix/home-assistant-matter-hub-addon +slug: hamh +name: Home-Assistant-Matter-Hub +description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home. +url: https://github.com/riddix/home-assistant-matter-hub +panel_icon: mdi:hub +panel_title: Matter Hub +homeassistant: 2024.1.0 +homeassistant_api: true +host_network: true +init: false +arch: + - aarch64 + - amd64 + - armv7 +ingress: true +ingress_port: 0 +map: + - addon_config:rw +options: + app_log_level: info + disable_log_colors: false + mdns_network_interface: "" +schema: + app_log_level: list(silly|debug|info|notice|warn|error|fatal) + disable_log_colors: bool + mdns_network_interface: "str?" diff --git a/hamh76/config.yaml b/hamh76/config.yaml index 5d15591..f410795 100644 --- a/hamh76/config.yaml +++ b/hamh76/config.yaml @@ -1,28 +1,28 @@ -version: "3.0.0-alpha.76" -image: ghcr.io/t0bst4r/home-assistant-matter-hub-addon -slug: hamh76 -name: Home-Assistant-Matter-Hub (3.0.0-alpha.76) -description: Last stable version which works with Amazon Alexa. Make sure to only enable one of the HAMH addons at once. -url: https://github.com/t0bst4r/home-assistant-matter-hub -panel_icon: mdi:hub -panel_title: Matter Hub (v76) -homeassistant: 2024.1.0 -homeassistant_api: true -host_network: true -init: false -arch: - - aarch64 - - amd64 - - armv7 -ingress: true -ingress_port: 0 -map: - - addon_config:rw -options: - app_log_level: info - disable_log_colors: false - mdns_network_interface: "" -schema: - app_log_level: list(silly|debug|info|notice|warn|error|fatal) - disable_log_colors: bool - mdns_network_interface: "str?" +version: "3.0.0-alpha.76" +image: ghcr.io/riddix/home-assistant-matter-hub-addon +slug: hamh76 +name: Home-Assistant-Matter-Hub (3.0.0-alpha.76) +description: Last stable version which works with Amazon Alexa. Make sure to only enable one of the HAMH addons at once. +url: https://github.com/riddix/home-assistant-matter-hub +panel_icon: mdi:hub +panel_title: Matter Hub (v76) +homeassistant: 2024.1.0 +homeassistant_api: true +host_network: true +init: false +arch: + - aarch64 + - amd64 + - armv7 +ingress: true +ingress_port: 0 +map: + - addon_config:rw +options: + app_log_level: info + disable_log_colors: false + mdns_network_interface: "" +schema: + app_log_level: list(silly|debug|info|notice|warn|error|fatal) + disable_log_colors: bool + mdns_network_interface: "str?" diff --git a/repository.yaml b/repository.yaml index 8fcea01..85f4dfb 100644 --- a/repository.yaml +++ b/repository.yaml @@ -1,4 +1,4 @@ ---- -name: Addons by t0bst4r -url: https://github.com/t0bst4r/home-assistant-addons -maintainer: t0bst4r +--- +name: Addons by riddix +url: https://github.com/riddix/home-assistant-addons +maintainer: riddix