Energy metering based on tariff

Hi,

I have an electrical energy meter (the index of which changes over 4 bytes) and 6 different tariffs (number from 5 to 10 in 1 byte format).
I would like to create a flow to have the consumption corresponding to each tariff.

Hi. Far too little info to help you (and likely the reason no one has replied)

If you still need help, provide more information, some example data and example flows of what you have tried.

Thank you for your reply. I finally got around the problem by creating Utility meters (Home assistant) for each tariff period from the consumption index