From 0400993acb9cbae9370008307fbe9409db02e938 Mon Sep 17 00:00:00 2001 From: sguernion Date: Thu, 2 Jul 2026 12:00:10 +0200 Subject: [PATCH 1/4] ci: add hassfest validation workflow --- .github/workflows/hassfest.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/hassfest.yaml diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml new file mode 100644 index 0000000..07d1dda --- /dev/null +++ b/.github/workflows/hassfest.yaml @@ -0,0 +1,14 @@ +name: Validate with hassfest + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + validate: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v3" + - uses: home-assistant/actions/hassfest@master From 32c97bc67a7b38b7f1948af0866175232cf7b52f Mon Sep 17 00:00:00 2001 From: sguernion Date: Thu, 2 Jul 2026 12:01:12 +0200 Subject: [PATCH 2/4] ci: add HACS validation workflow --- .github/workflows/validate.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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..dd1511b --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,21 @@ +name: Validate + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +permissions: + contents: read + +jobs: + validate-hacs: + runs-on: "ubuntu-latest" + steps: + - name: HACS validation + uses: "hacs/action@main" + with: + category: "integration" + github_token: ${{ secrets.GITHUB_TOKEN }} From 8c2c62d9fed85e8c9d9de3e412da722ae81d3bce Mon Sep 17 00:00:00 2001 From: sguernion Date: Thu, 2 Jul 2026 12:05:16 +0200 Subject: [PATCH 3/4] ci: add permissions block to hassfest workflow --- .github/workflows/hassfest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml index 07d1dda..178569b 100644 --- a/.github/workflows/hassfest.yaml +++ b/.github/workflows/hassfest.yaml @@ -6,6 +6,9 @@ on: schedule: - cron: "0 0 * * *" +permissions: + contents: read + jobs: validate: runs-on: "ubuntu-latest" From 4c1ca8d0dbe6f466b2429cf8ff90866c2db52d14 Mon Sep 17 00:00:00 2001 From: sguernion Date: Thu, 2 Jul 2026 13:31:46 +0200 Subject: [PATCH 4/4] fix: move brand assets and fix icons.json structure Move brand assets from brands/ to custom_components/open_firenet/brands/ and fix icons.json to use the entity/translation_key structure required by custom integrations instead of the built-in entity_component format. --- .github/workflows/hassfest.yaml | 2 +- .../open_firenet/brand}/icon.png | Bin .../open_firenet/brand}/icon@2x.png | Bin .../open_firenet/brand}/logo.png | Bin .../open_firenet/brand}/logo@2x.png | Bin custom_components/open_firenet/icons.json | 16 ++++++++++------ custom_components/open_firenet/manifest.json | 6 +++--- 7 files changed, 14 insertions(+), 10 deletions(-) rename {brands => custom_components/open_firenet/brand}/icon.png (100%) rename {brands => custom_components/open_firenet/brand}/icon@2x.png (100%) rename {brands => custom_components/open_firenet/brand}/logo.png (100%) rename {brands => custom_components/open_firenet/brand}/logo@2x.png (100%) diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml index 178569b..ad29ef3 100644 --- a/.github/workflows/hassfest.yaml +++ b/.github/workflows/hassfest.yaml @@ -13,5 +13,5 @@ jobs: validate: runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@v4" - uses: home-assistant/actions/hassfest@master diff --git a/brands/icon.png b/custom_components/open_firenet/brand/icon.png similarity index 100% rename from brands/icon.png rename to custom_components/open_firenet/brand/icon.png diff --git a/brands/icon@2x.png b/custom_components/open_firenet/brand/icon@2x.png similarity index 100% rename from brands/icon@2x.png rename to custom_components/open_firenet/brand/icon@2x.png diff --git a/brands/logo.png b/custom_components/open_firenet/brand/logo.png similarity index 100% rename from brands/logo.png rename to custom_components/open_firenet/brand/logo.png diff --git a/brands/logo@2x.png b/custom_components/open_firenet/brand/logo@2x.png similarity index 100% rename from brands/logo@2x.png rename to custom_components/open_firenet/brand/logo@2x.png diff --git a/custom_components/open_firenet/icons.json b/custom_components/open_firenet/icons.json index 7d94e60..814b5d3 100644 --- a/custom_components/open_firenet/icons.json +++ b/custom_components/open_firenet/icons.json @@ -1,14 +1,18 @@ { - "entity_component": { + "entity": { "climate": { - "default": "mdi:fireplace-off", - "state": { - "heat": "mdi:fireplace", - "off": "mdi:fireplace-off" + "open_firenet": { + "default": "mdi:fireplace-off", + "state": { + "heat": "mdi:fireplace", + "off": "mdi:fireplace-off" + } } }, "binary_sensor": { - "connectivity": "mdi:wifi-check" + "connected": { + "default": "mdi:wifi-check" + } } } } diff --git a/custom_components/open_firenet/manifest.json b/custom_components/open_firenet/manifest.json index 516cdc4..978933d 100644 --- a/custom_components/open_firenet/manifest.json +++ b/custom_components/open_firenet/manifest.json @@ -1,10 +1,10 @@ { "domain": "open_firenet", "name": "Open Firenet", + "codeowners": ["@openfirenet"], "config_flow": true, "documentation": "https://github.com/openfirenet/open-firenet-ha", - "issue_tracker": "https://github.com/openfirenet/open-firenet-ha/issues", "iot_class": "local_polling", - "version": "1.0.0", - "codeowners": ["@openfirenet"] + "issue_tracker": "https://github.com/openfirenet/open-firenet-ha/issues", + "version": "1.0.0" }