now why would this error. Could it be it has no value yet on startup? I would think none of these kind of sensors does, and need to be initialized first by reading the sensor they are based on.
yes, it does.
It shouldn’t be there in the first place, and if so, should have been a warning, not an error.
As you can see from the screenshot, it apparently reads from the recorder, so takes several values, and shouldn’t need to complain about having not enough data-points, which it has.
and maybe not a life threatening situation, but ultimately I strive for an error free HA setup.