Utility Meter Helper - Dual Tariff Issues

I have set up my meter helpers correctly and created the automation to change from peak to offpeak to peak etc. The meter switches correctly. However the data usage being recorded in both peak and offpeak.

Please can someone help me and advise what is going wrong?