- Area cards:
Stacking the card per two, results into too small card when using
HASS area cards.
Cards are now stacked at a maximum of 1 HASS card or 2 of every other.
- Binary sensor cards:
Since the parametertype of stackHorizontal has been changed, there's
no need to provide a column count anymore. It defaults to 2.
- Updated the stackHorizontal method to stack card configurations into
horizontal stacks based on their type.
- Changed the parameter from a single columnCount to an object mapping
card types to their respective column counts, allowing for greater
flexibility.
Method `whereAreaId()` filtered out entries without a device.
Those entries are now kept:
When areaId is `undisclosed`, the entry's area_id must match, and the
entry's device `area_id` must match, only if it is defined.
As an addition to the fix for issue #177.
Although the fix for #177 targets the entities, they were still
overridden by `setTapActionTarget()` after instantiation of the chip.
This statement is now removed.
Removing the statement, makes `setTapActionTarget()` and typeguards
obsolete, so they are removed also.
The order of chips at the Home view is defined by in what order they are
listed in the configuration defaults.
This order did not match the default order of the views.
The action was turning off all entities of a domain. This includes
entities which are excluded from the strategy by hidden/disabled status.
The action now targets the strategy's entities explicitly.
Closes#177
- Introduced getValuesByProperty method to retrieve an array of values
for a specified property from filtered entries.
- This method enhances the functionality of the RegistryFilter class,
allowing for more flexible data retrieval.
The "Static" badge breaks on pre-releases.
It's now a "GitHub Tag" badge and shows `no matching tags found` until a
matching tag is found in the repository (which should only be used for
releases).
- Stateful scene cards now replace classic scene cards when a stateful
equivalent exists.
- Stateful scene switches are hidden from the switch domain in all
views, except for the Scene view.
- Stateful scene switches are excluded from the switch chip count.
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
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.
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.
- 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.
- 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.
- 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.
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.
- 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.