Use_kwh not working as expected

I have the Solar Battery app running perfectly. Generation and usage display correctly in kWh depending on the time period chosen.

However when I look at the feeds, use_kwh is always the same as use. So when I try and set up the Octopus Agile app I get crazy data and graphs.

Any ideas what’s happening? use_kwh is just a Power to Kwh applied to the use input.


Can you show your input processing where you are updating the use_kwh feed?