panhans / HomeAssistant

Home Asisstant related stuff like blueprints for automations and scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced Heating Control - Window open not working

jorgwolski opened this issue · comments

Danfoss TRVs, which are integrated via ZHA, don't support changing the heating mode to off, even though they present the option to do so. Every try to turn the TRV off, results in the error message Failed to write attribute system_mode=<SystemMode.Off: 0>: <Status.INVALID_VALUE: 135>. The TRA just supports setting the minimal temperature. This has already been reported to ZHA.
This behavior makes the blueprint to fail every time, the windows are opened. Even the option to use Eco instead of off didn't work.
The option to force minimum temperature instead of off in the blueprint version 3.x has been working flawlessly.
Reintroducing that option would be appreciated.

Hi, thanks for reporting. A fix for this is active in current dev version. feel free to test and report back.

I believe I am facing a similar issue.

My valves do switch off, but beep annoyingly every time. Am I right in thinking this is an issue with the mode variable in the blueprint needing

{% elif state_mode_winter == false or state_outside_temp == false or state_window == true %}
{% set heating_mode = iif(is_not_off_but_min == true, 'heat', 'off') %}

currently it is just
{% set heating_mode = 'off' %}

I see that in the dev blueprint it is no longer "eco" but "minimum temperature" instead of off which is good for my use case :)

Door open with Eco temperature instead of off was still not working with version 4.0.3_HotFix1 with Danfoss
Ally thermostats in ZHA, but the 4.0.4_dev2 seems to work.