Sensor not available, what does it really literally mean

Hello,

my HA energy is working so far so good and all sensor are available. Today at the late afternoon, I have changed one value at yaml:

Sensor for Riemann sum of energy export (W → Wh)

  • platform: integration
    source: sensor.power_export
    name: energy_export_sum
    unit_prefix: k
    round: 3 → changed to 4
    method: left

I did it as I wanted to see if very low export values do have an effect at the hourly value of Energy export daily at the energy dashboard.

The change from round 3 to round 4 made the sensors:

Energy Export Daily
Energy Export Monthly
energy_export_sum

unavailable. Since 16:45 graph stopped.

grafik

I assume that this is driven, as in the moment no energy return is given after the change. But why is it called unavailable as the sensor is still “defined” at yaml and in addition today I have exported 0,14kWh and why this have no effect?

The Riemann Sum integration is waiting for at least two updates of sensor.power_export before it can calculate its current value.

Does this mean that “Riemann” is waiting for4 at least two “events” or data imput before any calculation which leads to an available sensor?

Yes.

Strange, because the opposite behavior as you described happened. Checked today in the morning and all sensors are available again and so energy return occurred!
grafik