mini-graph-card
mini-graph-card copied to clipboard
bug(aggregators): first (empty) item should be skipped
Hi, using aggregate function delta, the first bar displays always the value 0. It's like it uses the > instead of >= in lower bound hours_to_show parameter.
Thanks for your support
Prasto
Please share your config :)
Hi, same for me.
Here is my config:
type: 'custom:mini-graph-card'
entities:
- entity: sensor.amis_zahlerstand_gesamt
name: Verbrauch pro Stunde
hours_to_show: 6
aggregate_func: delta
points_per_hour: 1
group_by: hour
hour24: true
icon: 'mdi:counter'
show:
graph: bar
Please share your config :)
Hi RomRider, here there is my config:
type: 'custom:mini-graph-card'
name: Energia consumata zona giorno
icon: 'hass:cash-usd-outline'
hours_to_show: 168
group_by: date
aggregate_func: delta
lower_bound: 0
upper_bound: 5
show:
graph: bar
labels: true
entities:
- entity: sensor.shellyem_1_1_energy
name: Energia consumata
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!
Still experiencing this issue with v0.11.0.
Still an active issue, got it! Removing stale label.
Same here
type: custom:mini-graph-card
entities:
- entity: sensor.xyz
name: xyz
name: xyyzz
hours_to_show: 168
aggregate_func: delta
group_by: date
lower_bound: 0
hour24: true
show:
graph: bar
same here with v0.10.0
type: custom:mini-graph-card
entities:
- sensor.vicare_solar_power_production_today
hours_to_show: 168
aggregate_func: delta
group_by: date
lower_bound: 0
hour24: true
show:
graph: bar
It's also the same issue with aggregate_func: diff. @jlsjonas @RomRider is there any chance you could look on this?