Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use official entity state formatting functions when available. #1

Merged
merged 3 commits into from
May 10, 2024

Conversation

mill1000
Copy link
Owner

HA 2023.9 introduced new functions to enable custom cards to format entity state and entity attributes values.

This PR uses these new functions (if supported) unless the user specified a custom format option.

More here: https://developers.home-assistant.io/docs/frontend/data#entity-state-formatting

This is a local copy of benct#336

@mill1000 mill1000 self-assigned this May 10, 2024
@mill1000 mill1000 added the enhancement New feature or request label May 10, 2024
@mill1000 mill1000 merged commit bc2cf08 into master May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant