# Daikin Altherma, ESPAltherma & Home Assistant with OpenEnergyMonitor

**URL:** <https://community.openenergymonitor.org/t/daikin-altherma-espaltherma-home-assistant-with-openenergymonitor/25057>\
**Category:** Heatpump\
**Created:** [11 December 2023 14:48 UTC](https://community.openenergymonitor.org/t/daikin-altherma-espaltherma-home-assistant-with-openenergymonitor/25057 "2023-12-11T14:48:16Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![tiger\_cook](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/tiger_cook/32/27858_2.png) [@tiger\_cook](https://community.openenergymonitor.org/u/tiger_cook)\
**Post date:** [22 December 2023 11:30 UTC](https://community.openenergymonitor.org/t/daikin-altherma-espaltherma-home-assistant-with-openenergymonitor/25057/52 "2023-12-22T11:30:28Z")

</div>

> [@squarepeg77](#):
>
> Edit: to be clear, I see the negative heat / COP when the circulation pump is running, but the compressor is not

I think, I nailed it, it’s a bit crude -

I created another template that listens to the original COP sensor template,

If the new ‘cop\_true’ template value is in between 0 and 8 that listens to the original COP sensor, log value, otherwise log 0 (no negative or uber efficiency values).

I hope this makes sense. Thoughts on my cowboy approach welcome 😊

```
- name: "cop_true"
  unique_id: "cop_true"
  unit_of_measurement: 'COP'
  state: >
    {% set cop_true = (states('sensor.cop_power') | float ) | int %}
    {% if cop_true >= 0.001 and cop_true <= 9 %}
      {{ states('sensor.cop_power') }}
    {% else %}
      {{ 0 }}
    {% endif %}
  attributes:
      minute_counter: "{{ now().minute }}"

```

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/1/3/1303869eb1b66e18a77a7abf810ffa6368cbddf2.jpeg)

---

_[View the full topic](https://community.openenergymonitor.org/t/daikin-altherma-espaltherma-home-assistant-with-openenergymonitor/25057)._
