#Why some charts are smoothed and some are not?

1 messages · Page 1 of 1 (latest)

hasty parrot
#

For example:

cyan bronze
#

I will guess chart on the left is a history chart, and chart on the right is a statistics chart.

hasty parrot
analog rivet
#

Aren't they your charts?

hasty parrot
analog rivet
#

The definition of those sensors could help

hasty parrot
cyan bronze
#

Some entities collect statistics, which is like an aggregated value over 5 minutes. Some entities do not.
If an entity has statistics, this will be shown when opening the more-info dialog. It is shown with smoothed curves as the values may not be exact.
If an entity does not have statistics, the raw recorded history is shown. These are not smoothed.

hasty parrot
#

OK, so if I have a value from an ESP32 how can I make it to collect as statistic?

cyan bronze
#

To be a statistic an entity must be a sensor, have numeric values, and have a state_class.

#

If you're missing something it's probably the state class.

#

If it's a temperature should be state_class: measurement

hasty parrot
#

ok, perfect, I will try adding

state_class: "measurement"

to my sensors and see if something changes.