ha-average icon indicating copy to clipboard operation
ha-average copied to clipboard

Graph drops on home assistant reboot

Open lorenc88 opened this issue 3 years ago • 3 comments

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℃

lorenc88 avatar Jan 03 '22 09:01 lorenc88

Duplicate of #99?

metbril avatar Jan 05 '22 04:01 metbril

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

lorenc88 avatar Jan 10 '22 08:01 lorenc88

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

lmagyar avatar May 06 '22 21:05 lmagyar