Hey all, I'm trying to set up a statistics sensor, but I can't figure it out. What I want to do is collect my energy usage (which I have a daily sensor for) over a month and over a year.
What I can't figure out is the UI for creating statistics sensors. I think the sum statistic would be the right one, but I can't make sense of all the other parameters it's asking like sample size and percentile. The fact that the documentation is in english and the UI is not doesn't help either.
Can someone please either explain it to me or point me to some documentation that goes into greater detail than the one on the HA statistics page?