Last aggregate does not work
See original GitHub issueI installed 0.9.1 and updated the js to use .js?0.9.1 (so not cached)…
I have the following:
aggregate_func: last
entities:
- entity: sensor.withings_weight_kg_kris
name: Weight
font_size: 75
group_by: date
height: 200
hours_to_show: 672
line_color: var(--accent-color)
show:
icon_adaptive_color: true
labels: true
points: hover
style: |
ha-card {
padding-top: 0 !important;
padding-left: 2px !important;
}
.header {
padding-bottom: 0 !important;
}
.label--max,
.label--min {
box-shadow: unset !important;
}
type: 'custom:mini-graph-card'
Which produces:
The weight entry is 86.44 is the last reading that was taken this morning, however when I move over the last item that covers the day of the last reading I get the average still.
Yesterdays reading was 87.21 … (86.44 + 87.21) / 2 = 86.825:
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Last aggregate function in not working in Administrator Tool
hello friends, I am trying to use last function in my rpd .but i am unable to use this function.
Read more >Why isn't FIRST_VALUE and LAST_VALUE an aggregation ...
Aggregate functions work on sets of data and while some of them might require some implied ordering operation such as median, the functions...
Read more >last aggregate function | Databricks on AWS
Learn the syntax of the last function of the SQL language in Databricks SQL and Databricks Runtime.
Read more >The FIRST and LAST Aggregate Functions - DBoriented
The FIRST and LAST functions extend this ability, and allow you to sort a group of rows by one column, but return the...
Read more >aggregation functions · Issue #2456 · graphite-project ... - GitHub
This function can be used with aggregation functions average, median, sum, min, max, diff, stddev, count, range, multiply & last. but there is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
UP/UPDATE: WORKS!!! Need to UNINSTALL and REINSTALL minigraph via HACS. SOLVED. Thank you (and mgiako) for work and help
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!