Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable longterm statistic #13

Closed
kuzabi opened this issue May 22, 2024 · 1 comment
Closed

Enable longterm statistic #13

kuzabi opened this issue May 22, 2024 · 1 comment

Comments

@kuzabi
Copy link

kuzabi commented May 22, 2024

Hello,
first of all, great job, it's work like a charm.

I've proposition to enable long term statistic for sensors.
As far as I understand there should be defined a "state_class: measurement" for an sensor entity and that should do the job.
https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes

Currently is need to prepare template sensor with defined "state_class" based on Hydro sensor.

It could be as optional parameter in sensor configuration.
My programming skills are not on that level to be able to provide a code proposition - sorry.
I think it could be valuable for some users and it seems not so complicated to implement.

@PiotrMachowski
Copy link
Owner

Added in v1.0.7

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants