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

Uptime sensor should be a timestamp #823

Open
mateuszdrab opened this issue Jan 12, 2025 · 0 comments
Open

Uptime sensor should be a timestamp #823

mateuszdrab opened this issue Jan 12, 2025 · 0 comments

Comments

@mateuszdrab
Copy link

mateuszdrab commented Jan 12, 2025

The recently added Frigate Uptime sensor in #820 is a great idea; however, it should be a timestamp similarly to the Uptime sensor provided by Home Assistant.

Reasoning is that an ever increasing counter clutters the database unnecessarily and a timestamp can be easily used to calculate the uptime in seconds or minutes using a template if needed.

It is also hard to make sense of the uptime in seconds. When providing a timestamp, HA can provide a relative calculation automatically.

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

1 participant