Closed Linos88 closed 8 months ago
Do you mean you would like to see the Error code and not the Error text in the state? Thanks for your issue. I realized that the translation for cause and remedy texts are missing in the new version.
The Error text in the state (Lovelace UI) is niceš
Can you enter the error text in the attributes?
Thank you very much for the great work. It has become a very good integration
The text is a translation and you can not get it out of the HA functionality. This wish was rejected from the HA core team: PR 65743 You can use a plugin for this: Home-Assistant-custom-components-Custom-Templates
Ohh wow, that's interesting. Nevertheless, thank you for your support.
I have to think of something else how I can send myself the error text as a notification.
@Linos88 @BenPru Did managed this issue or is any translation or attribute of the error text available? IĀ“ve still the same issue
@Gifford47 I have not found a way to get the error text. A new sensor must be created for this, with the right data point in the Luxtronic
@Linos88 @BenPru Did managed this issue or is any translation or attribute of the error text available? IĀ“ve still the same issue
Yes:
but in the status attributes (code, cause, remedy) there's are only the code 717 stored. like posted here. @BenPru can you save the translation of the failure code into the appropriate attributes?
@BenPru š. @Gifford47 Search for the "WP last error" sensor, here you will find the error text in the attributes
Thanks for the answer, but I have the same issue as @Linos88. As you can see, the status attributes have only the code and not the translated text.
In my case I want to send a notification to the mobile phone what the exact error is.
As you can see, the status attributes have only the code and not the translated text.
Yes, the raw value is always the code. The text comes with the translation in the frontend. And the notfiy services uses the raw values and doesn't make translations - it runs in the backend. I have no solution for this. You can create an issue in the HA core github.
Ok, but would it be possible to read the appropriate translation JSON file, translate the error reason to a string and save it in some new text attributes? This could be done every time the sensor has changed. The necessary language is already defined by this awesome integration isn't it? :)
Hi, Can the error message be included in the attributes of "sensor.luxtronik_xxx_error_reason"?
I can read the error message in the card.
But in the states I can only see the error code.