Error reasons in automations #677
Replies: 2 comments 1 reply
-
|
I have written an alarm message / automation for my heatpump with the alarm code (in my case) "{{ states.sensor.luxtronik_210117_091_error_reason.attributes.code }}" and translation using "{{ state_translated('sensor.luxtronik_210117_091_error_reason') }}" Perhaps you can try something similar? KW |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the detailed report, @Paul-HomeAssistant — and for the workaround, @kwlorenz. Dug into this and the root cause turned out to be different from what it looked like: the Fixed in #685:
Would appreciate a review/test on real hardware once #685 is merged, especially since a couple of the newly-added codes only have best-effort (not manual-sourced) Polish/Czech translations. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
First of all, thanks for the great work on this integration! It’s been very nice and provides deep insights into the Luxtronik controllers.
I’ve noticed that while the error_reason sensor shows translated names in the UI (thanks to the translation files), the actual state of the entity in Home Assistant remains a numeric code (e.g., 759).
This makes creating useful automations slightly difficult. For example, if the heat pump enters a "Thermal Disinfection (TDI)" error state (Code 759), the user currently needs to manually map these codes in a templates to get a readable notification. Furthermore, some errors like 759 require a "soft reset" before DHW (Domestic Hot Water) production is allowed again, which is critical information for the user.
Would it be possble to do something like:
Entity: sensor.luxtronik_error_reason
State: "Thermal disinfection message"
Attributes:
code: 759
description: "Thermal disinfection could not be completed successfully five times in succession."
remedy: "Check second heat generator configuration and acknowledge the message."
severity: "info" (or warning/error)
Many thx and keep up the good work!
Paul
Beta Was this translation helpful? Give feedback.
All reactions