Warmup. how do i extract energy and other attributes

Hi, I have Warmup integration configured in my configuration YAML as ;

climate:

In Developers Tools, on the States tab I see:

And in an entity card I see;

What yaml code do I need to use/create to extract/see, for example, the “energy” attribute.

No YAML needed. Create a Template sensor via the UI (under Helpers) with a state template of:

{{ state_attr('climate.bathroom','energy') }}

If appropriate, set Unit to kWh and Device class to energy.

1 Like

Fantastic, thanks so much

Thanks for sharing this it’s really helpful.

If you want to add it to the Energy Dashboard make sure you set the State Class to Total Increasing as well.

Hi all.

Quite new to energy monitoring with HA so bear with me.

Used @Troon ’s method to create a template sensor,

However, every morning there is a spike in energy which varies in amount, not sure why it’s happening as underfloor heating is completely off between midnight and say 8am.

Any ideas why this is happening? When I used the last 24hrs counter on the actual thermostat it doesn’t show this. I also track my total house energy usage and it doesn’t show, so I’m thinking it’s an issue with Warmups way of calculating the energy?

Anyways if can’t get it fixed is there a way to exclude readings say over 2.3kwh (as my floor is only 2200W) so that this spurious measurement doesn’t show.

Thanks

Did you get anywhere with this? Mine is doing the same. I have two Warmup Elements in different rooms - both currently set to ‘off’. Yet at 2am, (every night) they both report an enormous spike.

They do this whether they are on or off. When they are on they also show more reasonable consumption as well as the spikes. One of mine is showing an instantaneous spike of 13.9KWh in 5 minutes between 01:55 and 02:00 each day.