I try to do get the COP per month for my heat pump. The issue is, that if the heap pump is not running the COP is “0”.
That means in the statistics, the Cop is not usable.
You can’t put the availability template in the state template box. It is a completely separate option that the UI template helper has no entry box for. You have to use YAML if you want to supply an availability template option.
I tried to create a template sensor but I guess I mixing something up.
At the end I would like to have sensors which I can use in statistics which show the COP for the status “heating” and the status “hot water”.
Maybe this is not possible in one template and I need more?
Would be great if you can give me another hint to solve it.