Energy monitor for production and consumption

Hi everyone,

I have an Aeotch G5 Zwave Energy monitor in the main breaker to measure the energy that comes from and goes to the grid. this sensor gives me realtime power and the accumulated energy, that measn that when i’m consuming from the grid, its increasing the value of the meter and the power is positive and when I’m sending energy to the grid, it’s decreasing the value and the power is negative. What I want to have is an individual meter for consumption and one individual meter for production. How can I do the sensor template?

Thank you in advance,

Jaime Payan