Commit Graph
22 Commits
Author SHA1 Message Date
DigiLive 4257a6cc68 Fix Webpack workflow
The commit action fails if the new build is the same as the existing
build. Now, Git checks for unchanged files first.
2025-06-01 12:57:05 +02:00
DigiLive 95794bf3b8 Refactor workflows
- Update webpack.yml and deploy-docs.yml to use GitHub App tokens
- Ensure consistent token usage for all git operations
- Add proper checkout configuration with fetch-depth
- Standardize environment variables and job structure
- Add timeouts to prevent hanging workflows
- Improve change detection for relevant files
2025-05-29 08:56:10 +02:00
DigiLive a60b5d88cf Add trigger
The workflow for deploying the documentation wasn't triggered on PRs.
In that case, the PR's status check will keep waiting infinitely.
2025-05-27 22:02:36 +02:00
dependabot[bot] 690d41446a Bump tj-actions/changed-files from 40 to 46 in the actions group (#228)
Bumps the actions group with 1 update: [tj-actions/changed-files](https://github.com/tj-actions/changed-files).


Updates `tj-actions/changed-files` from 40 to 46
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v40...v46)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: '46'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 21:45:57 +02:00
DigiLive adb796d959 Reformat code style 2025-05-27 21:08:22 +02:00
Ferry Cools c945ca5632 Refactor Access Token 2025-05-26 19:12:08 +02:00
DigiLive 95424243e9 Refactor Workflows 2025-05-26 18:50:23 +02:00
DigiLive 2331e33847 Refactor paths and paths-ignore
Webpack doesn't need to build a distribution if the source files don't
change.
2025-05-26 15:29:43 +02:00
DigiLive 09d486359e Add wiki documents 2025-05-26 15:03:23 +02:00
DigiLive b80d3c70b0 Bump Node version for the build workflow 2025-05-17 14:19:17 +02:00
dependabot[bot] 48a253ac7f Bump the actions group with 2 updates (#217)
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `actions/setup-node` from 3 to 4
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-node
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-17 14:16:39 +02:00
Ferry Cools 6e214079a6 Refactor HACS Action version 2025-05-17 13:42:37 +02:00
DigiLive bac30b5855 Refactor commit message for build
Adds a skip tag for codacy.
2025-05-17 12:50:26 +02:00
DigiLive c3505de66c Refactor job and step names 2025-05-13 22:16:07 +02:00
Ferry Cools a5ec18823d Release v2.3.0 (#195)
Adds:

- Strategy:
  - SceneCard: Support for Stateful scenes. Closes #190.
  - ValveCard: A card to control an entity of the valve domain. Closes #192.
  - LockView: A view for entities of the lock domain. Closes #171.
- Modules:
  - RegistryFilter: Advanced filtering and sorting of Home Assistant registries.
  - Auxiliaries: Generic utility functions.
  - Debug: Centralized logging and debug level management.
- Tooling:
  - ESLint configuration for linting.
  - Prettier configuration for code formatting.


Removes:

- Redundant types and interface annotations.
- Redundant legacy and unused modules.
- Localization constant from the `Helper` module in favor of a new `localize` utility.

Refactors:

- References regarding change of repository owner.
- Auxiliary functions are moved from the `Helper` module to `Auxiliaries` module.
- `Helper` module is renamed to `Registry` for centralized state and registry management.
- `ControllerCard` is renamed to `HeaderCard`.
- Doc-blocks and comments are updated for clarity and consistency.
- The file tree is restructured for improved clarity, modularity, and scalability.
- Third party type definitions are updated and cleaned up.
- Issue and Pull Request templates.

Optimizations:

- Parallelization of dynamic imports for views and cards.
- Improved error handling and logging throughout the codebase.
- Sanitization of HASS registries after import.
- Enforced stricter and simplified types and interfaces.
- Localization now available at global scope.

Fixes:

- Wrong type in configuration of `HeaderCard`.
- Translation files: Resolved key inconsistencies.
- Removed unnecessary namespaces from types.
- Typos and Grammar.
- Explicit use of `any` types.
- Turn off all entities of a domain with a chip tap action.
- Rendering too small HASS area cards.
- Count of active vacuums.


Bumps:

- Mushroom Strategy
- home-assistant-js-websocket
- superstruct
- ts-loader
- ts-node
- typescript
- webpack
- webpack-cli
2025-05-13 07:01:26 +02:00
Ferry Cools 82a91c3bd4 Refactor JavaScript to TypeScript (#81)
Other changes include:

* Add Vacuum Card and View.

* Add hiding a view if no device is configured for it. Closes #24.

* Add icon to HomeView configuration.

* Add version output to console.

* Add version bumper.

* Add .editorconfig settings.

* Refactor README, because the information moved to the repository's
   Wiki. Closes #87.
2023-11-22 21:02:56 +01:00
Ferry Cools 8311fa240c Add CI - Build Distribution (#66)
Adds a GitHub workflow to build distribution files
on:

* Merging a pull request into the `main` branch.
* Making a direct commit to the `main` branch.

Also adds guidelines for contributors.
2023-10-13 08:00:12 +02:00
Aalian Khan d0d1a9717b Update validate.yml 2023-03-27 18:34:59 -04:00
Aalian Khan 8cd6d3a506 Update validate.yml 2023-03-27 18:29:07 -04:00
Aalian Khan 47d9bcbdd2 Update validate.yml 2023-03-27 18:24:56 -04:00
Aalian Khan 13912d1c94 Update validate.yml 2023-03-26 16:35:14 -04:00
Aalian Khan fae08ec0fe Create validate.yml 2023-03-26 16:32:29 -04:00