#Why some charts are smoothed and some are not?
1 messages · Page 1 of 1 (latest)
I will guess chart on the left is a history chart, and chart on the right is a statistics chart.
What do you mean? How can I know what type of chart is?
Aren't they your charts?
Those are the charts that shows up when I click on a value on the dashboard
The definition of those sensors could help
What you mean by "definition"?
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.
OK, so if I have a value from an ESP32 how can I make it to collect as statistic?
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
ok, perfect, I will try adding
state_class: "measurement"
to my sensors and see if something changes.