312 Commits

Author SHA1 Message Date
CI Bot 4b2bbae3ed Continuous Integration - Build Distribution
[skip codacy]
v3.1.0
2026-04-18 06:03:51 +00:00
DigiLive dc02fdf5ae Bump version to v3.1.0 2026-04-18 08:02:53 +02:00
dependabot[bot] 16fffb1d6b Bump the minor-and-patch group with 5 updates (#318)
Bumps the minor-and-patch group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.58.1` | `8.58.2` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.58.1` | `8.58.2` |
| [prettier](https://github.com/prettier/prettier) | `3.8.2` | `3.8.3` |
| [typescript](https://github.com/microsoft/TypeScript) | `6.0.2` | `6.0.3` |
| [webpack](https://github.com/webpack/webpack) | `5.106.1` | `5.106.2` |


Updates `@typescript-eslint/eslint-plugin` from 8.58.1 to 8.58.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.2/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.58.1 to 8.58.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.2/packages/parser)

Updates `prettier` from 3.8.2 to 3.8.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.2...3.8.3)

Updates `typescript` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v6.0.2...v6.0.3)

Updates `webpack` from 5.106.1 to 5.106.2
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.106.1...v5.106.2)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.58.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.58.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: webpack
  dependency-version: 5.106.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ferry Cools <fcools@digilive.nl>
2026-04-18 07:49:34 +02:00
CI Bot 2c85b17dbb Continuous Integration - Build Distribution
[skip codacy]
2026-04-18 05:47:20 +00:00
Ferry Cools 6d37f25dbd Add French translation
- Refactor `sensor.binary`
  This allows these sensors to be referenced correctly in languages where
  the grammatical subject precedes the descriptor, such as French.

- Add French translation
2026-04-18 07:46:41 +02:00
dependabot[bot] 2bd3b6a415 Bump typescript from 5.9.3 to 6.0.2 in the major group across 1 directory (#314)
* Bump typescript from 5.9.3 to 6.0.2 in the major group

Updates `typescript` from 5.9.3 to 6.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Refactor tsconfig for TS 6.0.2

- Change module resultion to `bundler` because `node` is deprecated.
- Add `@types/node` to `package.json` which is required for previous
  item.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DigiLive <github@digilive.nl>
2026-04-11 09:28:08 +02:00
dependabot[bot] a6beeb4aed Bump the minor-and-patch group with 6 updates (#313)
Bumps the minor-and-patch group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.57.1` | `8.58.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.57.1` | `8.58.1` |
| [eslint](https://github.com/eslint/eslint) | `10.1.0` | `10.2.0` |
| [prettier](https://github.com/prettier/prettier) | `3.8.1` | `3.8.2` |
| [ts-loader](https://github.com/TypeStrong/ts-loader) | `9.5.4` | `9.5.7` |
| [webpack](https://github.com/webpack/webpack) | `5.105.4` | `5.106.1` |


Updates `@typescript-eslint/eslint-plugin` from 8.57.1 to 8.58.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.57.1 to 8.58.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.1/packages/parser)

Updates `eslint` from 10.1.0 to 10.2.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.1.0...v10.2.0)

Updates `prettier` from 3.8.1 to 3.8.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.1...3.8.2)

Updates `ts-loader` from 9.5.4 to 9.5.7
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.5.4...v9.5.7)

Updates `webpack` from 5.105.4 to 5.106.1
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.105.4...v5.106.1)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.58.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.58.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.8.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: ts-loader
  dependency-version: 9.5.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: webpack
  dependency-version: 5.106.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-11 08:45:47 +02:00
DigiLive a0d67f4a76 Refactor dependabot settings 2026-04-11 08:32:08 +02:00
CI Bot f50a2e0fe6 Continuous Integration - Build Distribution
[skip codacy]
2026-04-11 05:38:35 +00:00
Ferry Cools 733c3855ae Add visibility of ordering position
- Add global strategy option `show_positions`.
- Add position as subtitle to area card.
- Add position to area name at HASS area card.
- Add position to view title in the top-bar.
- Add position as subtitle to header cards in views.
- Refactor sorting logic for ordering.
- Document position visibility and ordering strategy.

Closes #310
2026-04-11 07:37:58 +02:00
CI Bot bb22358b0d Continuous Integration - Build Distribution
[skip codacy]
2026-04-04 07:32:44 +00:00
Ferry Cools d4d3171ef5 Add assigning an order value to areas
* Refactor area registry processing

Streamline the area registry by using a filter to order areas by name.
Ensure the undisclosed area is always included in the list, and assign
an order value to each area for giving the user a more granular control
of the order of areas.

* Add support showing positions

Added support for displaying the ordering position on area cards.
The visibility is toggled with `strategyOptions.show_positions` and
defaults to `false`.

* Add translations for ordering position

This commit introduces the translation for the term 'ordering_position'
in German, Spanish, Hungarian, Dutch, and Brazilian Portuguese to
enhance multilingual support in the application.

* Document details for element positioning

Clarify how positioned elements are arranged and provide examples of
possible values, improving user understanding of configuration options.
2026-04-04 09:32:09 +02:00
CI Bot a4edd4f2e2 Continuous Integration - Build Distribution
[skip codacy]
2026-03-30 05:45:36 +00:00
Ferry Cools f74e6c2ecc Add per-domain visibility of 'config/diagnostic' entities
Before you could only set the visibility for all of the domains with the `_` key.
Now it can be controlled per-domain.
This adds a more granular control of the visibility of these entities.
2026-03-30 07:44:59 +02:00
CI Bot 03c9977b96 Continuous Integration - Build Distribution
[skip codacy]
v3.0.1
2026-03-28 10:16:44 +00:00
DigiLive 0e1f5f89f9 Bump version to 3.0.1
Update version numbers in package files and documentation to reflect
the new release version 3.0.1.
2026-03-28 11:15:57 +01:00
CI Bot 8ac0ab94fe Continuous Integration - Build Distribution
[skip codacy]
2026-03-28 10:10:31 +00:00
DigiLive 0cbf97b4b6 Reformat documentation for consistency
Updated various documentation files to ensure consistent use of line
breaks and formatting.
This improves readability and maintains a uniform style across all
documents.
2026-03-28 11:09:46 +01:00
DigiLive fff5fdbd7c Refactor documentation on sorting
Enhance the documentation by including details on how to use the
`order` property for sorting areas, domains, and views.
This improves user experience by allowing users to prioritize their
most-used items in the interface.
2026-03-28 10:59:34 +01:00
DigiLive 1090774564 Document installation and FAQ updates
Added instructions for refreshing the cache in the installation guide
and FAQ.
These updates enhance user experience by clarifying common issues
related to caching.
2026-03-28 10:07:33 +01:00
DigiLive 8a76d6092c Bump pymdown-extensions version
Bumped the pymdown-extensions dependency because the current version
has known vulnerability CVE-2025-68142.
2026-03-28 09:50:49 +01:00
CI Bot 5ab8c60692 Continuous Integration - Build Distribution
[skip codacy]
2026-03-28 08:35:21 +00:00
Ferry Cools fa3f832868 Fix sorting logic of RegistryFilter
- Extract value comparison and priority logic into dedicated methods.
  This enhances readability and reduces cyclomatic complexity.
- Fix sorting instability where mixed types (e.g., null vs string)
  caused inconsistent ties.
  This prevents JavaScript's unreliable `<` and `>` comparisons from
  returning a 0 for different types.
- Implement natural numeric sorting for strings.
  (e.g., "Item 2" before "Item 10").
  This ensures digits within strings are treated as numerical values
  instead of ASCII characters.
- Optimize performance with early-exit identity checks (a === b).
  This allows the loop to immediately move to the next property without
  redundant processing.
- Add documentation to clarify how the `order` property affects the
  sorting of areas and domains in views.
  This helps users understand how to prioritize their most-used items
  effectively.
2026-03-28 09:34:42 +01:00
CI Bot 665f971394 Continuous Integration - Build Distribution
[skip codacy]
2026-03-27 18:56:10 +00:00
Ferry Cools 5db6bf9a4b Fix typo in LockView title localization (#303)
Corrected the localization key for the title in LockView.
2026-03-27 19:55:36 +01:00
DigiLive bbbc1083d9 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.github/workflows/deploy-docs.yml
v3.0.0
2026-03-23 19:12:58 +01:00
DigiLive fdb1914b95 Refactor deployment workflow 2026-03-23 19:12:37 +01:00
DigiLive 098d9bbcb5 Refactor deployment workflow 2026-03-23 18:59:54 +01:00
DigiLive 68c1795f39 Refactor deployment steps in workflow
Updated GitHub App token action and removed invalid flags from the
deployment commands.
2026-03-23 16:13:06 +01:00
DigiLive 59ceded431 Refactor deployment workflow for documentation
Improve the GitHub Actions workflow for deploying documentation by
adding concurrency control, adjusting permissions, and enhancing
error handling for branch fetching. This ensures a more robust
and efficient deployment process.
2026-03-23 15:57:56 +01:00
CI Bot 10a98fab84 Continuous Integration - Build Distribution
[skip codacy]
2026-03-23 11:08:34 +00:00
DigiLive 7205d60c9c Refactor area title naming convention
Updated the naming convention for the 'areasTitle' property for
consistency across the codebase.
2026-03-23 11:52:23 +01:00
dependabot[bot] fd57249035 Bump the dependencies group with 6 updates (#295)
Bumps the dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.57.0` | `8.57.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.57.0` | `8.57.1` |
| [bumpp](https://github.com/antfu-collective/bumpp) | `11.0.0` | `11.0.1` |
| [eslint](https://github.com/eslint/eslint) | `10.0.3` | `10.1.0` |
| [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) | `0.21.0` | `0.22.0` |
| [webpack-cli](https://github.com/webpack/webpack-cli) | `7.0.0` | `7.0.2` |


Updates `@typescript-eslint/eslint-plugin` from 8.57.0 to 8.57.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.57.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.57.0 to 8.57.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.57.1/packages/parser)

Updates `bumpp` from 11.0.0 to 11.0.1
- [Release notes](https://github.com/antfu-collective/bumpp/releases)
- [Commits](https://github.com/antfu-collective/bumpp/compare/v11.0.0...v11.0.1)

Updates `eslint` from 10.0.3 to 10.1.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.0.3...v10.1.0)

Updates `markdownlint-cli2` from 0.21.0 to 0.22.0
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.21.0...v0.22.0)

Updates `webpack-cli` from 7.0.0 to 7.0.2
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.0...webpack-cli@7.0.2)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.57.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.57.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: bumpp
  dependency-version: 11.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: eslint
  dependency-version: 10.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: markdownlint-cli2
  dependency-version: 0.22.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: webpack-cli
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ferry Cools <fcools@digilive.nl>
2026-03-23 10:41:45 +01:00
CI Bot ace9036576 Continuous Integration - Build Distribution
[skip codacy]
2026-03-23 08:13:10 +00:00
DigiLive 3cd43b980b Refactor stack trace caller extraction
Improve the logic for identifying the true caller from the stack trace
by using a loop instead of array methods.
This enhances readability and reduces cyclomatic complexity.
2026-03-23 09:12:27 +01:00
CI Bot af873136ef Continuous Integration - Build Distribution
[skip codacy]
2026-03-23 05:52:23 +00:00
DigiLive 47916e6a20 Refactor sorting logic
Simplify the sorting logic by introducing a variable for the sort
direction.
This enhances readability and reduces cyclomatic complexity.
2026-03-23 06:51:41 +01:00
DigiLive f07d819e4c Refactor domain configuration ordering
Updated the SingleDomainConfig interface to require an order property.
Reorganized the configuration defaults for various entities to ensure
consistent ordering and improved clarity in the configuration structure.
2026-03-23 06:50:20 +01:00
DigiLive fd1041d6f0 Refactor view sorting logic
Simplify the sorting of views by combining order and title comparisons
into a single return statement.
This improves readability and maintains the intended sorting behavior.
2026-03-23 06:48:25 +01:00
DigiLive d1fd02f084 Refactor sensor card handling
Sensor entities without a `units_of_measurement` attribute in their
state where excluded from the view.
Now, they are included and presented with a `MiscellaneousCard`.
2026-03-23 06:47:59 +01:00
DigiLive 6813990262 Refactor entity sorting
- Introduce a new method to resolve the most appropriate display name
  for entities based on a similar lookup as HASS.
- Change the sorting of entities to display names.
2026-03-23 06:43:58 +01:00
DigiLive aa23986a15 Add validation for in deployment script
Ensure that the version and alias inputs conform to the expected
format, allowing only alphanumeric characters, dots, and hyphens.
This prevents potential injection issues and improves the robustness of
the deployment process.
2026-03-22 14:39:04 +01:00
CI Bot 51990c9e28 Continuous Integration - Build Distribution
[skip codacy]
2026-03-22 13:16:43 +00:00
DigiLive 515310f243 Add permissions for content access in workflows
This update adds the 'permissions' section to both validate.yml and
webpack.yml to ensure that the workflows have read access to the
repository contents.
This change is necessary to ensure top-level permissions are not set to
write-all.
2026-03-22 14:15:54 +01:00
DigiLive bd0861e925 Fix deployment script for security
Updated the documentation deployment workflow to map workflow_dispatch
and release inputs to the env context.
This ensures that user-provided strings are treated as data rather than
executable code during the run step, closing a potential command
injection vulnerability.
2026-03-22 13:37:56 +01:00
DigiLive 52b76d1195 Refactor area ID filtering logic for clarity
Improve the readability and structure of the area ID filtering logic in
the RegistryFilter class.
This change clarifies the handling of different area ID scenarios,
reducing the cyclomatic complexity.
2026-03-22 13:05:49 +01:00
DigiLive d50192ac83 Refactor registry initialization and sorting logic
- Streamline the initialization process of the Registry class by
  introducing a dedicated method for fetching registries from Home
  Assistant.
- Enhance clarity by consolidating sorting logic for views and domains
  into a single reusable function.
- Improve documentation for better understanding of methods and their
  parameters.
2026-03-22 12:30:44 +01:00
DigiLive ed35e45972 Add order property to configuration defaults
This change introduces an 'order' property for various components in the
configuration defaults, allowing for better control over the display
order of these components in the user interface.
2026-03-22 12:29:38 +01:00
DigiLive 4c70a3bbab Refactor view sorting logic for clarity
Improve the sorting logic for views by separating order and title
comparisons into distinct variables.
This reduces the cyclomatic complexity.
2026-03-22 10:45:37 +01:00
DigiLive 6dddba2459 Refactor stack trace caller name extraction
Improve the getCallerName function by simplifying the logic to extract
the caller name from the stack trace.
Introducing a new helper function to handle the parsing of individual
stack lines, reduces the cyclomatic complexity.
2026-03-22 10:39:29 +01:00