This big release with 35 changed files is about localization, matching icon logic with Home Assistant, state formatting, and state converters.
With all these changes, a small BREAKING CHANGE is also introduced 😄
This version:
- re-introduces working localization for text states
- adds localization for numbers
- updates icon selection based on the entity to be on par with Home Assistant again
- introduces simple state converters (brightness, divide/multiply)
- introduces light color (RGB and more) converters to use the light color to style a tool
- introduces state formatters (date, time, datetime, relative, etc.).
Documentation:
The small breaking change is about the use of the format: brightness
field in the entity list, which should be replaced by the brightness converter. See the documentation on entity converters for this.
What's Changed
Refactored / New Features / Small BREAKING CHANGE
- refactor: Update localization and icon states, and add entity state converter and formatting support by @AmoebeLabs in #233
And with this refactoring:
- Add light color conversions, issue #230
- Refactor icon state building to be up-to-date with Home Assistant, issue #232
- Add localization for numbers, issue #216
Other Changes
- Removed custom-card-helper, issue #231
Full Changelog: v2.4.6...v2.5.1