Hi again, after some tests I’ve found that the only way to show the error is this:
Create a template under devices and settings → Helpers
The template has to be of type SENSOR
add the following code:
{% set mapper = {
'0' : 'Normale',
'1' : 'Errore Generico',
'2' : 'Tanica Piena'} %}
{% set state = states('sensor.deumidificatore_stato_errori') %}
{{ mapper[state] if state in mapper else 'Sconosciuto' }}
to model state, where “sensor.deumidificatore_stato_errori” is the actual sensor (SENSOR type with enum type in device class, all the rest as default) with DP 11 from the dehumidifier.
Then use that template to show the correct naming of the error.
Hello everyone, and thank you for your contributions.
I hope to help you by posting some information for the complete integration of the Olimpia Splendid Aquaria S1 dehumidifier.
The integration was done using LocalTuya and acquiring/managing all the available parameters.
A direct integration achieves (almost) nothing.
The result: