Subtract wallbox consumption from total consumption

Hi, everyone,

I have a wall box with its own electricity meter (KEBA). I would like to include this in the sources in order to track the costs separately. however, the consumption is of course counted twice together with the total electricity consumption of the house. once in the house electricity consumption and once the consumption of the keba wallbox. is it possible to deduct the one value of the wallbox from the total consumption of the house?
Thank you very much
regards

Zahnpasta

Yes you can do this with a template sensor.