mathieu-mp / homeassistant-intex-spa

Home Assistant integration for Intex Spa
https://github.com/mathieu-mp/homeassistant-intex-spa
MIT License
32 stars 6 forks source link

Sensor of an eventual error code #15

Closed mathieu-mp closed 2 years ago

mathieu-mp commented 2 years ago

Sensor of an eventual error code:

mathieu-mp commented 2 years ago

The hard part is done: python package modified and ha sensor created. @Elkropac Is it wise to also implement an error description sensor ? Based on the descriptions displayed by CyrilP

Elkropac commented 2 years ago

Well, if we already have the texts, then ... why not?

mathieu-mp commented 2 years ago

Thanks for your answer Maybe we could display it as a secondary attribute of the error entity. I'll check that, and the translation part.

mathieu-mp commented 2 years ago

I introduced a total of 3 sensors:

Where title and description are as provided by CyrilP.

It uses the translations, so we might need to translate to the various langages before it appears for each language.