Closed kevin-david closed 2 years ago
Thanks for the report!
If you can reproduce the error, please try again with the dev
branch, as I just pushed a small fix that should resolve that issue! :)
Seemed to have been caused by the fact that wait_closed
will fail if the connection has been closed on the other side.
I know it's probably not the same - but I attempted to repro this with your changes by blocking the panel from connecting to wifi for a while and eventually allowing it back in. When it was allowed back in and rebooted, it reconnected automatically. So that was good!
I'll consider it's good enough a test :) I merged this to the main branch too! Thanks again!
When I changed some wifi settings earlier, the sensors became
Unavailable
and never came back. Restarting AppDaemon fixed this, but it seems like a good idea to be resilient to transient network issues inside the integration itself