Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

No long term statistics #4

Open
sophof opened this issue Oct 25, 2022 · 2 comments
Open

No long term statistics #4

sophof opened this issue Oct 25, 2022 · 2 comments

Comments

@sophof
Copy link

sophof commented Oct 25, 2022

Hi, Thanks for forking this component, the original doesn't appear to be active anymore. Would it be possible to support long term statistics by setting the state_class?

To give an example, this is all I had to do via a template sensor copy to enable it:

- sensor:
    - name: "Frigate CPU use copy"
      unit_of_measurement: "%"
      state_class: "measurement"
      device_class: "temperature"
      state: >
        {{ states('sensor.docker_monitor_frigate_cpu_use') }}
@guillaumelamirand
Copy link
Owner

guillaumelamirand commented May 22, 2023

Hello,

Sorry for the looongg delay.

Could you please have a look at the latest release: https://github.com/guillaumelamirand/docker-monitor/releases/tag/v0.0.9 ?

Thanks

@sophof
Copy link
Author

sophof commented Jun 2, 2023

Thanks for the reply. It looks like I switched to another integration in the mean time (https://github.com/ualex73/monitor_docker)? Honestly I can't really remember why and that hasn't implemented it yet either (although it has been merged into master awaiting release I can now see), but I think I'll stick to that one.

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

No branches or pull requests

2 participants