Commit Graph
186 Commits
Author SHA1 Message Date
DigiLive 42cf9250fa Refactor linting and formatting configurations
- Removes IDE-specific rules.
- Removes redundant rules.
- Aligns rules across the config files.
2025-04-26 09:50:46 +02:00
DigiLive f8852651a9 Fix links 2025-04-26 09:50:46 +02:00
DigiLive 1360ed6732 Refactor GitHub templates 2025-04-26 09:50:46 +02:00
DigiLive e128dc4f44 Refactor YAML formatting 2025-04-26 09:50:46 +02:00
DigiLive f7176d51ca Add calling function/method to the logging output 2025-04-26 09:50:46 +02:00
DigiLive afa6b88bfd Add support for Stateful scenes
Add changing the icon color of the Scene Card depending on the related
stateful scene entity, if available.
The default color will now be `disabled`.

Closes #190
2025-04-26 09:50:45 +02:00
DigiLive 446c497974 Refactor debug level
Raised the level for strategy configuration `single` from `lvlDebug` to
`lvlFatal`.
2025-04-26 09:50:45 +02:00
DigiLive ab5eea27ba Refactor debug level
Raised the level for method `single` from `lvlDebug` to `lvlWarn`.
2025-04-26 09:50:45 +02:00
DigiLive 514b2ac7d9 Fix unneeded domain check
Method createCardConfigurations checks for domain `Home` which will not
evaluatie to `true` because this domain overrides the method anyway.
2025-04-26 09:50:45 +02:00
DigiLive db7b262f2a Add Valve card
Closes #192.
2025-04-26 09:50:45 +02:00
DigiLive 01e67bed2f Refactor code formatting settings 2025-04-26 09:50:45 +02:00
DigiLive ec3f4fc001 Fix card configuration
The type of the card configuration was set to EntityCardConfig, which is
too strict as a generic type of card.
The type is loosened to LoveLaceCardConfig.
2025-04-26 09:50:44 +02:00
DigiLive 0ce7c58642 Add Lock view
Closes #171
2025-04-26 09:50:44 +02:00
DigiLive 5977531bff Add funding 2025-04-26 09:50:44 +02:00
DigiLive 98f2c6775d Cut redundant files 2025-04-26 09:50:44 +02:00
DigiLive 436b57b239 Reformat 2025-04-26 09:50:44 +02:00
DigiLive 1fcea6f9a8 Optimize MushroomStrategy class
Changed code to make use of new optimized modules.
- Parallelization of dynamic imports for views and cards.
- Improved error handling and logging throughout the codebase.
- Enforced stricter and simplified types and interfaces.
- Localization now available at global scope.
- Typos and Grammar.
2025-04-26 09:50:43 +02:00
DigiLive 083ace149e Optimize Home View
Changed code to be compatible with changed imports.
Also, the code is optimized and more concise.
2025-04-26 09:50:43 +02:00
DigiLive 3dfeca6b92 Optimize Views
- Make use of the debug module.
- Make use of the auxiliaries module.
- Make use of the localization module.
- Make use of the Registry module.
- Align code across the chip modules.
- Make configurations immutable.
- Make use of the refactored types.
2025-04-26 09:50:43 +02:00
DigiLive 946550278b Optimize Cards
- Make use of the debug module.
- Make use of the Registry module.
- Align code across the chip modules.
- Make configurations immutable.
- Make use of the refactored types.
2025-04-26 09:50:43 +02:00
DigiLive ffce32d670 Optimize Chips
- Make use of the debug module.
- Make use of the Registry module.
- Align code across the chip modules.
- Make configurations immutable.
- Make use of the refactored types.
2025-04-26 09:50:43 +02:00
DigiLive 9a081a32b6 Fix translation files
- Align the translation keys across the files.
- Fix typos.
2025-04-26 09:50:42 +02:00
DigiLive 12abf40572 Add Registry class.
The class is an optimized version of the Helper class.

- Sanitization of the HASS registries after import according to the
  configuration options.
- Improved error handling and logging.
- Removed generic utility functions.
2025-04-26 09:50:42 +02:00
DigiLive 9987779b7a Refactor ConfigurationDefaults
Making use of the global localization functions, ConfigurationDefaults
is now a constant value instead of a function.
2025-04-26 09:50:42 +02:00
DigiLive da6dee75ed Refactor Controller Card
The card is renamed to Header Card because it's clearer regarding its
purpose.
2025-04-26 09:50:42 +02:00
DigiLive 2cbe48e5bd Add modules
- debug module for centralized logging and debug level management.
- localize module for localization functions in the global scope.
- RegistryFilter module for advanced filtering and sorting of HASS
  registries.
- auxiliaries module for genric utility functions.
2025-04-26 09:50:42 +02:00
DigiLive 3568049a06 Refactor types and interfaces.
- Update third party types and interfaces to their latest versions.
- Strategy types and interface removed from namespace and split into
  separate files.
- Update Strategy types, interfaces and typeguards to be more
  restrictive and concise.
- Add missing docblocks.
2025-04-26 09:50:41 +02:00
DigiLive 7f724f01c7 Add HASS requirement to HACS 2025-04-26 09:50:41 +02:00
DigiLive e4de5c8a8d Refactor tool configurations 2025-04-26 09:50:41 +02:00
DigiLive 0e1fafa2fb Add dependencies
Installed the new packages and versions of `package.json`.
2025-04-26 09:50:41 +02:00
DigiLive 311eeaf444 Add Prettier dependency 2025-04-26 09:50:41 +02:00
DigiLive 928a3a9fb5 Bump dependency versions 2025-04-26 09:50:40 +02:00
DigiLive af0c170d1f Add ESlint dependencies 2025-04-26 09:50:40 +02:00
DigiLive 053c39d72c Fix typos and grammar 2025-04-26 09:50:40 +02:00
DigiLive 8645c19b23 Bump Strategy version 2025-04-26 09:50:40 +02:00
DigiLive 95fb021a40 Add Git Attributes 2025-04-26 09:50:40 +02:00
DigiLive 58952274d2 Fix typo in JSDOC 2025-04-26 09:50:39 +02:00
DigiLive 2704d80d3f Make Style rules
Not all styling rules where included or correctly set.
2025-04-26 09:50:39 +02:00
DigiLive a9d3ccd9b0 Optimize types
The type definitions and interfaces of Home Assistant and Mushroom where
outdated. Also, the type definitions and interfaces of the strategy
could use some refinement.
2025-04-26 09:50:38 +02:00
DigiLive 1bfda2ca22 Refactor repository references 2025-04-26 09:04:33 +02:00
Continuous Integration 0a510648e0 Continuous Integration - Build Distribution 2025-03-23 06:33:22 +00:00
w531t4 711140d13f Add hiding diagnostic entities (#153)
Config and diagnostic entities are now hidden by default.

Their visibility can be defined in the configuration with entries
`hide_config_entities` and `hide_diagnostic_entities` for all or individual domains.
2025-03-23 07:33:00 +01:00
Aalian Khan 0c2649e08e Add additional card image 2025-03-08 08:59:01 -08:00
Aalian Khan e8e0b0c5f1 Add additional card image 2025-03-08 08:39:35 -08:00
Continuous Integration 03b56a5fea Continuous Integration - Build Distribution v2.2.0 2025-03-08 07:29:27 +00:00
Marcoske23andFerry Cools bee8f4b236 Add Spanish translation (#179)
Co-authored-by: Ferry Cools <fcools@digilive.nl>
2025-03-08 08:29:07 +01:00
Continuous Integration 991c913147 Continuous Integration - Build Distribution 2025-03-08 07:26:32 +00:00
Marc d91c8e3159 Add German translation (#176) 2025-03-08 08:26:12 +01:00
Continuous Integration 7dda3c1a38 Continuous Integration - Build Distribution 2025-03-08 07:25:36 +00:00
w531t4andDigiLive d1456426de Add scene domain and associated tap-action (#164)
Scenes are added as a domain so they're available at the top navigation 
bar.
The view doesn't have controller cards since switching multiple scenes 
at once makes no sense.

---------

Co-authored-by: DigiLive <github@digilive.nl>
2025-03-08 08:25:17 +01:00