Closed GAFL-Knight closed 1 day ago
Hola a todos.
Me puse a trabajar con estos mensajes de error y logré resolver el misterio. Estuve viendo la documentación de HA y un ejemplo de otra integración de HACS con el código ya actualizado que utiliza las mismas constantes y pude ver como estaba resuelto.
Por lo tanto adjunto el archivo que deben reemplazar que es climate.py
que se encuentra en el directorio de HA custom_components\bgh_smart
. Como no puedo subir un archivo Python (extensión py), para poder aplicar el cambio deberían hacer lo siguiente:
custom_components\bgh_smart\climate.py
por custom_components\bgh_smart\climate-org.py
. esto es por si hay algún problema, poder recuperar el archivo original.climate.txt' en
custom_components\bgh_smart`.custom_components\bgh_smart\climate.txt
por custom_components\bgh_smart\climate.py
. Con esto volvemos a obtener el archivo en Python.Yo ya lo tengo implementado en mi HA sin problemas y está funcionando muy bien. Espero disfruten de esta integración que realmente anda muy bien gracias a @mool .
Estimado @mool desde ya muchas gracias por este desarrollo tan útil.
Seguramente ya estás al tanto, pero por las dudas cargo este ISSUE a fin de tener seguimiento. A partir de la versión 2005.1 del Core de HA, varias constantes utilizadas en esta integración dejarán de estar disponible, por lo cual es necesario realizar los ajustes necesarios en el código para garantizar la continuidad de la integración.
A continuación copio los distintos mensajes del LOG de HA con las advertencias del caso:
ADVERTENCIA 1:
ADVERTENCIA 2:
ADVERTENCIA 3:
ADVERTENCIA 4:
Desde ya muchas gracias.