Good morning this is my first post so please excuse if I’m in wrong place, this is for a live CoP reading for a Nibe S 1225 heat pump, but I’m not sure if I have the right sensors, if anyone else has a Nibe s1225 heat pump could confirm they are it would be greatly appreciated.
{% set heat = states('sensor.heating_including_int_add_heat_31578') | float(0) %}
{% set elec = states('sensor.compressor_power_input_31049') | float(0) %}
{% if elec > 0 %}
{{ (heat / elec) | round(2) }}
{% else %}
0
{% endif %}
Many thanks in advance