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

Graph drops on home assistant reboot #109

Open
lorenc88 opened this issue Jan 3, 2022 · 3 comments
Open

Graph drops on home assistant reboot #109

lorenc88 opened this issue Jan 3, 2022 · 3 comments

Comments

@lorenc88
Copy link

lorenc88 commented Jan 3, 2022

This issue can be observed on the following graph:
Screenshot_1
"X" marks spot the HA reboots. It seems that for sensor of undefined values it calculates the avarage like:

10℃ + undefined (0℃) / 2 = 5℃

I'd be nice to have a config option that will allow to exclude undefined sensor from the calculation. As a a result it should give:

10℃ + undefined (omitted) / 1 = 10℃

@metbril
Copy link

metbril commented Jan 5, 2022

Duplicate of #99?

@lorenc88
Copy link
Author

Looks like the same issue. Should I close it or it can be merged/linked somehow?

@lmagyar
Copy link
Contributor

lmagyar commented May 6, 2022

I think the restart related part of this issue is related to #98. Though I wasn't able to figure out the root cause.

Limych added a commit that referenced this issue Oct 11, 2022
…q-2.38

Update pyupgrade requirement from ~=2.37 to ~=2.38
Limych pushed a commit that referenced this issue Sep 19, 2023
Fixed a typo in README.md leading to a non-existing path
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

3 participants