This afternoon I updated my version of ESPHome Builder from 2025.3.0 to 2025.3.1 and on attempting to update my 11 ESPHome SmartPlugs, every single one of them failed the update with the following output:
INFO Reading configuration /config/esphome/localbytes-plug-pm-{redacted}.yaml...
INFO Updating https://github.com/LocalBytes/esphome-localbytes-plug.git@main
INFO Generating C++ source...
INFO Compiling app...
Processing localbytes-plug-pm-{redacted} (board: esp01_1m; framework: arduino; platform: platformio/espressif8266@4.2.1)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.3.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.6
Compiling .pioenvs/localbytes-plug-pm-8ca21f/src/esphome/components/api/api_connection.cpp.o
< --SNIP 8<-- >
Linking .pioenvs/localbytes-plug-pm-{redacted}/firmware.elf
RAM: [===== ] 46.7% (used 38232 bytes from 81920 bytes)
Flash: [====== ] 58.8% (used 602397 bytes from 1023984 bytes)
Building .pioenvs/localbytes-plug-pm-{redacted}/firmware.bin
esp8266_copy_factory_bin([".pioenvs/localbytes-plug-pm-{redacted}/firmware.bin"], [".pioenvs/localbytes-plug-pm-{redacted}/firmware.elf"])
esp8266_copy_ota_bin([".pioenvs/localbytes-plug-pm-{redacted}/firmware.bin"], [".pioenvs/localbytes-plug-pm-{redacted}/firmware.elf"])
======================== [SUCCESS] Took 541.41 seconds ========================
INFO Successfully compiled program.
INFO Resolving IP address of localbytes-plug-pm-{redacted}.local in mDNS
INFO Connecting to {redacted} port 8266...
INFO Connected to {redacted}
INFO Uploading /data/build/localbytes-plug-pm-{redacted}/.pioenvs/localbytes-plug-pm-{redacted}/firmware.bin (606544 bytes)
INFO Compressed to 419027 bytes
ERROR Error binary size: Error: ESP does not have enough space to store OTA file. Please try flashing a minimal firmware (remove everything except ota)
== [ERROR] /config/esphome/localbytes-plug-pm-{redacted}.yaml ==
Obviously I don’t want to have to start cracking open the plugs to flash them physically, so does anyone know or have any ideas how to resolve this?