home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

OZW climate - TRV with single setpoint reports wrong state #39035

Closed alex3305 closed 4 years ago

alex3305 commented 4 years ago

The problem

With the new OZW integration single setpoint devices (such as Danfoss Z TRV) have a default HVAC mode set to Heating as fixed in #36541. This makes the device always report Heating as it's state, even if this is not the case.

As you can see in the screenshot below. The device itself is reporting Heating, with a setpoint temperature of 18.5, while the current temperature is 24 degrees centigrade.

image

Environment

Problem-relevant configuration.yaml

n/a

Traceback/Error logs

n/a

Additional information

This issue is related to HVAC modes and HVAC actions (#28834 and #39031).

MartinHjelmare commented 4 years ago

As already confirmed, the device doesn't report its current action so home assistant is behaving correctly by not reporting any action. Until the device reports its action, there's nothing to fix.

alex3305 commented 4 years ago

@MartinHjelmare I reworked this issue into the real issue. That is that Home Assistant is currently reporting the wrong state for these kinds of devices. The state as reported is Heating, but this is simply not always the case. Can you re-open this issue?

MartinHjelmare commented 4 years ago

The climate entity state represents the mode of the device, ie what the device is set to do, eg heat, cool or auto. It does not represent what the device is currently doing, ie the action of the device, eg trying to heat, trying to cool, idle.

If the device only has a single mode, heat, the entity reports that correctly.