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

Main placeholder to show aggregated value instead of current state #1095

Open
aaaaahaaaaa opened this issue Apr 27, 2024 · 0 comments
Open

Comments

@aaaaahaaaaa
Copy link

Perhaps subjective, but I find very confusing from a UX POV (and also kinda useless), that the card's main label still shows the current state value when grouping and using an aggregating function, instead of a value relevant to the aggregation. E.g.: when grouping power consumption by date over 7 days, the main label should allow to display the overall consumption over the total period.

In terms of configuration/UX, I think there's a simple and elegant way to achieve that: the aggregate_func config at the entity level should be the only the config for the entity, not an override, defining how the value is calculated for each group. And the aggregate_func config at the root level should define how the value is computed for the entire graph (main label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant