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.
Troon
(Troon)
2
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
smuggaz
(Gaz)
4
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.