diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 641ea5e7cf14..59d085a2aee9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,7 +4,6 @@ on: release: types: - published - workflow_dispatch: env: PYTHON_VERSION: "3.12" @@ -82,3 +81,57 @@ jobs: arch: amd64 wheels-key: ${{ secrets.WHEELS_KEY }} requirements: "requirements.txt" + + release-landing-page: + name: Release landing-page frontend + if: github.event.release.prerelease == false + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v4.2.2 + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version-file: ".nvmrc" + cache: yarn + - name: Install dependencies + run: yarn install + - name: Download Translations + run: ./script/translations_download + env: + LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }} + - name: Build landing-page + run: landing-page/script/build_landing_page + - name: Tar folder + run: tar -czf landing-page/home_assistant_frontend_landingpage-${{ github.event.release.tag_name }}.tar.gz -C landing-page/dist . + - name: Upload release asset + uses: softprops/action-gh-release@v2.1.0 + with: + files: landing-page/home_assistant_frontend_landingpage-${{ github.event.release.tag_name }}.tar.gz + + release-supervisor: + name: Release supervisor frontend + if: github.event.release.prerelease == false + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v4.2.2 + - name: Setup Node + uses: actions/setup-node@v4.1.0 + with: + node-version-file: ".nvmrc" + cache: yarn + - name: Install dependencies + run: yarn install + - name: Download Translations + run: ./script/translations_download + env: + LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }} + - name: Build supervisor + run: hassio/script/build_hassio + - name: Tar folder + run: tar -czf hassio/home_assistant_frontend_supervisor-${{ github.event.release.tag_name }}.tar.gz -C hassio/build . + - name: Upload release asset + uses: softprops/action-gh-release@v2.1.0 + with: + files: hassio/home_assistant_frontend_supervisor-${{ github.event.release.tag_name }}.tar.gz diff --git a/pyproject.toml b/pyproject.toml index 69577d089e06..bcfcbba5eee7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20241127.6" +version = "20241127.7" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md" diff --git a/src/data/scene.ts b/src/data/scene.ts index ee56c30c2d88..750fdf9135ab 100644 --- a/src/data/scene.ts +++ b/src/data/scene.ts @@ -17,6 +17,7 @@ export const SCENE_IGNORED_DOMAINS = [ "person", "scene", "schedule", + "script", "sensor", "sun", "update", diff --git a/src/panels/config/integrations/ha-config-integration-page.ts b/src/panels/config/integrations/ha-config-integration-page.ts index f44a03b00fad..daad09dece2d 100644 --- a/src/panels/config/integrations/ha-config-integration-page.ts +++ b/src/panels/config/integrations/ha-config-integration-page.ts @@ -368,11 +368,12 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { ` : nothing} ${this._manifest?.is_built_in === false - ? html`