Only send positive values (not zeros) to home assistant after reset

Hi,

I have a sensor that gets the run-times of my heat pump.
This is a total_increasing value.
To keep my device running, I do a daily reset of my esphome device. However, this also resets the value of the sensor to zero, which is showed up in homeassistant.

Is there a way to only forward the value to homeassistant if it is not zero - meaning when the value of the sensor is updated to a valid value?