Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ESPHome config flow only connect when needed #24593
Before, ESPHome would connect via ESPHome API each time a device was discovered to get some basic data (name of device, is password enabled).
At least for debugging that was always not so nice, because when it would open connections to all esphome devices in my network (quite a few
At least the name is already known from zeroconf - and checking if a password is required can be done while the user presses configure too.
This PR makes sure the device is only connected to when the user presses the configure button on discovered devices.