Heat Pump COP Calculation

Maybe this is not what you meant, but here we go:
You could create a virtual feed and let it calculate

(heating_pwr) / electric_pwr (edited)

If Wikipedia is not lying:)