mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
dc9718b1679fa2cebfb5403bb48fe283fb2f2a09
When OTA starts, stop_scan() is called which clears the scan_continuous_ flag. If OTA fails or aborts, the scan was never restarted because scan_continuous_ was already false. This left the device without BLE scanning until reboot. Save the scan_continuous_ state before stopping and restore it on OTA_ERROR or OTA_ABORT to resume scanning.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
