DigiLive
1e5081a476
Refactor ESLint rules
2025-05-18 21:30:58 +02:00
DigiLive
28d3e9d4bc
Refactor code for compatibility
...
The code needed to be refactored to be compatible with the changes of
the `main` branch.
Also, the configuration for ESLint is refactored to migrate it to v9.
2025-05-18 18:18:39 +02:00
DigiLive
181e297330
Merge branch 'add-cards-per-row' into add-device-view
...
# Conflicts:
# README.md
# dist/mushroom-strategy.js
# package-lock.json
# package.json
# src/Registry.ts
# src/cards/HeaderCard.ts
# src/configurationDefaults.ts
# src/mushroom-strategy.ts
# src/types/strategy/strategy-cards.ts
# src/types/strategy/strategy-generics.ts
# src/utilities/RegistryFilter.ts
# src/views/AbstractView.ts
# src/views/CameraView.ts
# src/views/HomeView.ts
# src/views/VacuumView.ts
2025-05-18 12:24:15 +02:00
DigiLive
d405ca8425
Build Distribution
2025-05-18 10:56:22 +02:00
DigiLive
e56d5577a0
Merge branch 'main' into add-cards-per-row
...
# Conflicts:
# dist/mushroom-strategy.js
2025-05-18 10:51:57 +02:00
dependabot[bot] and Ferry Cools
2fd1be9fc3
Bump the dependencies group with 6 updates ( #218 )
...
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.31.0` | `8.32.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `8.31.0` | `8.32.1` |
| [eslint](https://github.com/eslint/eslint ) | `9.25.1` | `9.27.0` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) | `10.1.2` | `10.1.5` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) | `5.2.6` | `5.4.0` |
| [webpack](https://github.com/webpack/webpack ) | `5.99.7` | `5.99.8` |
Updates `@typescript-eslint/eslint-plugin` from 8.31.0 to 8.32.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.32.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 8.31.0 to 8.32.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.32.1/packages/parser )
Updates `eslint` from 9.25.1 to 9.27.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.27.0 )
Updates `eslint-config-prettier` from 10.1.2 to 10.1.5
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.2...v10.1.5 )
Updates `eslint-plugin-prettier` from 5.2.6 to 5.4.0
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.2.6...v5.4.0 )
Updates `webpack` from 5.99.7 to 5.99.8
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.99.7...v5.99.8 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-version: 8.32.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@typescript-eslint/parser"
dependency-version: 8.32.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: eslint
dependency-version: 9.27.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: eslint-config-prettier
dependency-version: 10.1.5
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: eslint-plugin-prettier
dependency-version: 5.4.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: webpack
dependency-version: 5.99.8
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 >
2025-05-17 14:23:59 +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
c534505e6e
Add Pull Request grouping
2025-05-17 13:50:43 +02:00
Ferry Cools
6e214079a6
Refactor HACS Action version
2025-05-17 13:42:37 +02:00
Ferry Cools
01c8f162a2
Add dependabot.yml
2025-05-17 13:36:04 +02:00
DigiLive
f6a7e80004
Merge remote-tracking branch 'origin/main'
2025-05-17 12:51:44 +02:00
DigiLive
bac30b5855
Refactor commit message for build
...
Adds a skip tag for codacy.
2025-05-17 12:50:26 +02:00
Continuous Integration
00508cf03a
Continuous Integration - Build Distribution
2025-05-17 10:35:35 +00:00
DigiLive
02caa4dbed
Refactor Codacy items
...
Adds a code quality badge to the readme and refactors some minor issues
to satisfy Codacy.
2025-05-17 12:35:02 +02:00
DigiLive
9aa2c442f0
Refactor ESSLint configuration file
...
Codacy expects it to have a `.json` extension.
2025-05-17 11:41:46 +02:00
DigiLive
4057725378
Bump Strategy version
v2.3.3-alpha.1
2025-05-17 10:44:19 +02:00
DigiLive
d895854f27
Merge branch 'main' into add-cards-per-row
2025-05-17 10:39:15 +02:00
Continuous Integration
ebc71daf6a
Continuous Integration - Build Distribution
2025-05-17 08:34:59 +00:00
DigiLive
28296a8a63
Fix localization for regioned languages
2025-05-17 10:34:29 +02:00
P1LH4
90da717c81
Add Brazilian-Portugese language
2025-05-17 09:51:29 +02:00
DigiLive
2ff0782685
Add a config option for column count
...
If cards are horizontally stacked, the number of columns can now be
configured in the Strategy options.
Stack counts under domains, affect the domain views as well as the Area
views.
```yaml
home_view:
stack_count:
_: 2
persons: 3
areas: [2,1] # [Strategy Card, HASS card]
domains:
_:
stack_count: 2
light: 3
```
Closes #203
2025-05-16 14:55:44 +02:00
Continuous Integration
b2e34e83a4
Continuous Integration - Build Distribution
2025-05-16 06:14:34 +00:00
DigiLive
6f81e7da65
Fix showing entities twice
...
Entities with an explicit area id where shown twice.
Once because of the explicit area and once because of its device's area.
Closes #207 .
2025-05-16 08:13:44 +02:00
Continuous Integration
7bbfe6c0c9
Continuous Integration - Build Distribution
2025-05-14 08:59:18 +00:00
DigiLive
993ef5258a
Add a showControls option to all domains
...
Adds the `showControls` option to the all-domains configuration to allow
hiding the control buttons at a domain view or for the domains at an
area view.
Closes #126 .
2025-05-14 10:58:45 +02:00
Continuous Integration
d37c903d37
Continuous Integration - Build Distribution
2025-05-14 06:39:51 +00:00
DigiLive
7a17a330fe
Merge remote-tracking branch 'origin/main'
2025-05-14 08:37:19 +02:00
DigiLive
4cbb1274f6
Fix "Area not found" error
...
If the card type for the undisclosed area is set to `HaAreaCard`, a card
is shown with the message "Area not found".
This is because it's not a real area and the type must be enforced to
`default`.
Closes #206
2025-05-14 08:36:37 +02:00
DigiLive
2fc0df9db0
Fix Vacuum Control buttons
...
The default configuration of the control buttons was missing.
2025-05-14 07:37:48 +02:00
Continuous Integration
9975a89f4c
Continuous Integration - Build Distribution
v2.3.2
2025-05-14 05:01:34 +00:00
DigiLive
207c4c13c0
Bump Strategy version
2025-05-14 07:00:57 +02:00
Continuous Integration
5860178818
Continuous Integration - Build Distribution
2025-05-14 04:42:21 +00:00
DigiLive
b58ece65cf
Fix hiding areas
...
Closes #205 .
2025-05-14 06:41:51 +02:00
Continuous Integration
9f818f6294
Continuous Integration - Build Distribution
v2.3.1
2025-05-13 20:34:59 +00:00
DigiLive
a4239ca99f
Bump Strategy version
2025-05-13 22:34:10 +02:00
Continuous Integration
e9ae919a77
Continuous Integration - Build Distribution
2025-05-13 20:29:32 +00:00
DigiLive
101538067e
Fix applying custom area configuration
...
Closes #200 , #202 .
2025-05-13 22:29:03 +02:00
Continuous Integration
8e80a6e71e
Continuous Integration - Build Distribution
2025-05-13 20:16:32 +00:00
DigiLive
c3505de66c
Refactor job and step names
2025-05-13 22:16:07 +02:00
DigiLive
c7b6526326
Fix hiding greeting section
...
Closes #201 .
2025-05-13 21:07:30 +02:00
DigiLive
fd4ea5824c
Cut dist directory from gitignore
...
Git evaluates this folder after the build process to detect if a
new commit to the repository is required.
(cherry picked from commit 1aa2bb0d3a )
2025-05-13 12:24:47 +02:00
DigiLive
3ae4826fef
Refactor getCountTemplate
...
Instead of building an array of state objects (one for each
domain-entity) in TypeScript, the jinja2 template now entirely handles
the domain-entities state objects.
2025-05-13 12:09:00 +02:00
DigiLive
737c6ece37
Cleanup
2025-05-13 12:09:00 +02:00
DigiLive
f2ecdfe562
Add Device View
...
Entities of the same device can now be grouped under a separate view
instead of showing them all on a domain or area view.
If grouped, by a device id, a device card is shown instead which can be
tapped to view its entities.
2025-05-13 12:09:00 +02:00
DigiLive
64f838df32
Refactor Area view generators
...
- The area views are now generated asynchronously when a specific area
is opened, rather than all views being generated at once when any
random area is accessed.
- The logic for generating area views has been separated from the logic
that handles the overall dashboard.
2025-05-13 12:09:00 +02:00
DigiLive
51dec76cf2
Fix count of active vacuums
...
Vacuums with state `off` where counted while that isn't a valid state.
Vacuums with state `cleaning` or `returning` are now counted instead.
2025-05-13 12:08:59 +02:00
DigiLive
488dca9e2a
Refactor logMessage
...
Adds a remark about throwing an additional Error to satisfy TypeScript.
2025-05-13 12:08:59 +02:00
DigiLive
ad084414f0
Add processing of extra_views
...
- Force `subView` to be false.
- Add sorting bij order first and then by title.
2025-05-13 12:08:59 +02:00
DigiLive
5113c8c3bd
Refactor stackHorizontal method into a new module
...
- Cut the stackHorizontal method from the Registry class and added it to
a new module for better organization and reusability.
2025-05-13 12:08:59 +02:00