esphome / aioesphomeapi

Python Client for ESPHome native API. Used by Home Assistant.

Home Page:https://esphome.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection lost with subscribe_states

roger- opened this issue · comments

My device is a bit unstable and subscribe_states() does not seem to reconnect automatically. Can I use ReconnectLogic or something?

Yes that is what it is for.

Any sample code?