Integration Sensor Component Needs Reset Service

(clearly an ability to reset an integration sensor to zero at midnight would be much simpler)

That’s the reason Utility Meter - Home Assistant exists…

@dgomes Utility Meter produce for me completely unusable results.

upper 3 values are integrations and lower 3 values are Utility Meters. Both started today and use the same sensors as source.

While the integrations offer plausible results, Utility Meter does not.

Integration:

  - platform: integration
    source: sensor.inverter_house_consumption_power_sum
    name: integration_inverter_house_consumption_power_sum
    unit_prefix: k
    round: 2
  - platform: integration
    source: sensor.inverter_house_grid_p_sum
    name: integration_inverter_house_grid_p_sum
    unit_prefix: k
    round: 2
  - platform: integration
    source: sensor.inverter_house_pv_power_in
    name: integration_inverter_house_power_in
    unit_prefix: k
    round: 2

Utility Meter:

utility_meter:
  meter_inverter_house_consumption_power_sum:
    source: sensor.inverter_house_consumption_power_sum
    name: meter-inverter-house-consumption-power-sum
    cycle: daily
    net_consumption: false
  meter_inverter_house_grid_p_sum:
    source: sensor.inverter_house_grid_p_sum
    name: meter-inverter-house-grid-p-sum
    cycle: daily
    net_consumption: true
  meter_inverter_house_pv_power_in:
    source: sensor.inverter_house_pv_power_in
    name: meter-inverter-house-pv-power-in
    cycle: daily
    net_consumption: true

Sample Source Sensor sensor.inverter_house_grid_p_sum:

From my experience Utility Meter is no alternative as I don’t understand what happen in that black box. Integrations works very well but the daily reset is missing. So for me this thread is still relevant and has no solution yet.

Here is your mistake: utility meter is supposed to use ENERGY sensors not POWER sensors.

The source sensor of the utility_meter should be the integration sensors.