Split aircon power usage in Energy dashboard showing Heating vs Cooling?

I have a Daikin heatpump to heat/cool the house which has a pretty good integration.
I also have an ESPHome device that monitors the power usage and reports Watts being used right now and also the Daily kWh used.

The heatpump has multiple “modes” being Auto, Heat, Cool, Fan, Dry etc…

In the recent releases of HA I see a lot about templates…
Could someone give me some pointers on how I could create some template entities that would record the daily kWh used while in each “mode”?

I think it would be super cool to see on the Energy Dashboard how much power I used this year to Heat vs Cool the house etc…

No need for templates.

Create a utility meter with a tariff for each mode. Feed it your energy (kWh) sensor.

Use an automation with a state trigger to switch the tariffs when the mode changes.

This will create an energy sensor for each mode.

2 Likes