I’m having some trouble with an integration sensor.
My setup is en esp32 running esphome providing data in W for import and export to the grid.
On HA I’ve got 2 integration sensors (import/export). Converting W to kWh.
Over the last couple of nights we have had a power outage causing the esp32 to reboot. My HA server has battery backup so that’s stayed running.
Once the power is restored the import integration sensor works as expected, however, the export one does not work until I restart HA. The data is coming in from the esp32 but it is not being used by the integration sensor.
Does anyone know how I can fix this behavior without restarting HA?