Baldhor / Homey-ESPhome-Enhanced

This is an Homey app which adds support for ESPHome devices. ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems. More information on their homepage: https://www.esphome.io/
GNU General Public License v3.0
4 stars 3 forks source link

No error message when device is unavailable #36

Closed RoadXY closed 8 months ago

RoadXY commented 9 months ago

Describe the bug Undefined error message when device is offline. I.e. because it is unplugged from the wall or when encryption key is changed/added.

To Reproduce Steps to reproduce the behavior: Add encryption key and watch the device become unavailable in Homey. Open device and see a error message: "Failed connecting to device: undefined"

Screenshots image

Baldhor commented 9 months ago

Yes, you are right, I do not provide any message to the homey method when the connection is lost after initilization. I need to think how to implement it, the low level client is scarce in details.

Also, I'm working on a rewrite of the wizard (refer to #30), and so the solution need to consider it.

Baldhor commented 8 months ago

Fixed in 1.0.0