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
This commit is contained in:
Ferry Cools authored and GitHub committed 2025-05-13 07:01:26 +02:00
1 parent 1bfda2ca22
commit a5ec18823d
136 files changed
+7074 -4364

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
# Bug Fix Pull Request
Thank you for contributing to the project by fixing this bug!
Please fill out the following information to help us review your pull request.
---
### Bug Summary
Explain why this fix is needed and what problem it solves.
If it relates to an existing issue, please link it.
See [Linking a pull request to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue).
[Briefly describe the bug you are fixing]
---
### Motivation and Context
Explain why this bug needs to be fixed and the impact it has on the project or users.
[Your explanation here]
---
### List of Changes
[Provide a concise list of the main changes introduced by this pull request to fix the bug.]
- ...
### Steps to Reproduce (if not covered in the linked issue)
If the steps to reproduce the bug are not clearly outlined in the linked issue, please provide them here:
1. ...
2. ...
### Expected Behavior (if not covered in the linked issue)
Describe what the expected behavior should have been before the bug occurred.
[Your description of the expected behavior]
### Actual Behavior (if not covered in the linked issue)
Describe the actual behavior that occurred due to the bug.
[Your description of the actual behavior]
---
### Wiki Updates
[If this bug fix requires any updates to the Wiki, please provide details here.]
---
### Agreements
Please confirm the following by inserting an `x` between the brackets:
- [ ] My code adheres to the [contribution guidelines](blob/main/CONTRIBUTING.md) of the project.
- [ ] My changes generate no new warnings.
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
+44
View File
@@ -0,0 +1,44 @@
# Feature Pull Request
Thank you for contributing to the project!
Please fill out the following information to help us review your pull request.
---
### Feature Summary
[Briefly describe the feature you are proposing]
---
### Motivation and Context
Explain why this feature is needed and what problem it solves.
If it relates to an existing issue, please link it.
See [Linking a pull request to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue).
[Your explanation here]
---
### List of Changes
[Provide a concise list of the main changes introduced by this pull request.]
- ...
### Wiki Updates
[If this bug feature requires any updates to the Wiki, please provide details here.]
---
### Agreements
Please confirm the following by inserting an `x` between the brackets:
- [ ] My code adheres to the [contribution guidelines](blob/main/CONTRIBUTING.md) of the project.
- [ ] My changes generate no new warnings.
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
@@ -0,0 +1,71 @@
# Translation Contribution Pull Request
Thank you for contributing to the project's internationalization efforts!
Please fill out the following information to help us review your translation changes.
---
### Type of Translation Contribution
Please select the type of contribution:
- [ ] Adding a new language translation
- [ ] Fixing errors or improving an existing translation
- [ ] Updating an existing translation with new strings
---
### Target Language
Please specify the language you are adding or modifying:
[List the target language here]
---
### Motivation and Context
Explain why this translation (addition, fix, or update) is needed.
- For fixes, please describe the original error.
- For updates, briefly explain the context of the new strings.
[Your explanation here]
---
### Scope of Changes
Please describe the scope of your translation changes.
Which parts of the project are affected by these translations?
[Describe the affected areas]
---
### List of Changes
Provide a concise list of the main changes you've made in this pull request.
If it's a large update, you can highlight key areas.
- ...
---
### Considerations for Reviewers
Are there any specific areas you would like reviewers to pay extra attention to?
For example, specific terminology, cultural nuances, or consistency with existing translations.
[Any specific instructions for reviewers]
---
### Agreements
Please confirm the following:
- [ ] My code adheres to the [contribution guidelines](blob/main/CONTRIBUTING.md) of the project.
- [ ] I have reviewed the existing translations for consistency.
- [ ] I have used appropriate terminology and followed any project-specific translation guidelines.
- [ ] I have tested the translations to the best of my ability.
- [ ] My changes generate no new warnings or errors related to internationalization.