Create Total kWh feed from MQTT feed which resets daily

Hello @modeller Im not sure what the best way of doing this would be, Interestingly @christian has a solution that works the other way around here kWh/hour feed I wonder if schedules could be used to achieve the reverse?