uvejota / edistribucion

Home Assistant custom integration for e-distribución
GNU General Public License v3.0
20 stars 6 forks source link

Error "US6-RecICPTimeOUT" #11

Closed msanchezt closed 3 years ago

msanchezt commented 3 years ago

I'm getting this error when running this from both Home Assistant and manually executing the test_eds script:

Error processing command: {"redirect":false,"message":"En estos momentos no podemos conectar con tu contador. Por favor, prueba más tarde.","labelParam":[""],"label":"","isWPException":true,"isLabel":true,"code":"US6-RecICPTimeOUT"}

msanchezt commented 3 years ago

The error disappeared after few hours, all seems fine now. Maybe it was an issue on their end more than the custom integration.

uvejota commented 3 years ago

You're right, this is an error directly obtained from edistribucion website. However, I should fix the logging message to be more precise. Moreover, if a variable is not setted during the cloud polling process, it just prints "-", so the whole program does not hang until a valid response is retrieved.

Regarding the double "contador" line, it's just an error in the printing format of EdsHelper.py, which is mainly used for testing purposes. I will fix it also!

Thank you for reporting these issues!