question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data aggregation functions Max, Min, Avg does not want to work

See original GitHub issue

I do not know why crazy reason does not indicate the 3 Max, Min and Avg values, I do it according to the parameters and only a temperature line is shown, what am I doing wrong?, this is my code in card temperature crazy

  - aggregate_func: max
    color: '#ff0042'
    entity: sensor.terraza_temperatura
    name: Max
  - aggregate_func: min
    color: '#00a2ff'
    entity: sensor.terraza_temperatura
    name: Min
  - aggregate_func: avg
    color: '#62ff96'
    entity: sensor.terraza_temperatura
    name: Media
group_by: hour
hours_to_show: 48
icon_adaptive_color: true
line_width: 2
lower_bound: -10
name: Temperatura Max & Min
name_adaptive_color: true
points: hover
points_per_hour: 20
show:
  labels: true
type: 'custom:mini-graph-card'
unit: ºC
upper_bound: 40


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
octavizcommented, Feb 7, 2020

Good job your Mini graph card for HA, Home Assistant should buy your design, it’s great and mandatory

1reaction
kalkihcommented, Feb 7, 2020

It will absolutely be addressed, I’ll work on it when I have an opportunity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Aggregate Functions — AVG, COUNT, DISTINCT, MAX ...
The SQL aggregate functions — AVG, COUNT, DISTINCT, MAX, MIN, SUM — all return a value computed or derived from one column's values, ......
Read more >
How to fix " Aggregate functions (COUNT, AVG, SUM, MIN ...
I would like to calculate the time and date difference, between the maximum and the minimum MAX (hour) and MIN (hour) for each...
Read more >
AVG, MIN, MAX Aggregate Function Use - Codecademy Forums
The MAX() aggregate function takes the name of a column as an argument and returns the largest value in a column. SELECT title,...
Read more >
Using the SUM, AVG, COUNT, MIN, MAX Operators in SQL
The SUM function is an aggregate function that adds up all values in a specific column. You can only use the SUM function...
Read more >
Aggregate Functions in MySQL - Guru99
3) AVG 4) MIN 5) MAX. In this MySQL Aggregate Functions tutorial, ... managers are usually interested in knowing whole figures and not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found