Sum Daily Power production

How can I sum the sensor which gives daily power production sensor to make a total energy sensor? I could have used utility sensor but the issue is that this particular daily sensor resets at mid night. Any ideas?