Latest version of Home Assitant OS and ESPHome builder, but suddenly compiled code failed with:
Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
RAM: [= ] 10.5% (used 34312 bytes from 327680 bytes)
Flash: [===== ] 51.4% (used 943739 bytes from 1835008 bytes)
Building .pioenvs/office-sensor/firmware.bin
Creating ESP32 image...
Successfully created ESP32 image.
merge_factory_bin([".pioenvs/office-sensor/firmware.bin"], [".pioenvs/office-sensor/firmware.elf"])
Info: bootloader.bin not found - skipping
Info: partition-table.bin not found - skipping
Info: ota_data_initial.bin not found - skipping
Info: office-sensor.bin not found - skipping
Using FLASH_EXTRA_IMAGES from PlatformIO environment
Merging binaries into /data/build/office-sensor/.pioenvs/office-sensor/firmware.factory.bin
Merging binaries with esptool
SHA digest in image updated.
Wrote 0xf6810 bytes to file '/data/build/office-sensor/.pioenvs/office-sensor/firmware.factory.bin', ready to flash to offset 0x0.
Successfully created /data/build/office-sensor/.pioenvs/office-sensor/firmware.factory.bin
esp32_copy_ota_bin([".pioenvs/office-sensor/firmware.bin"], [".pioenvs/office-sensor/firmware.elf"])
Copied firmware to /data/build/office-sensor/.pioenvs/office-sensor/firmware.ota.bin
========================= [SUCCESS] Took 33.83 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.126 port 3232...
INFO Connected to 192.168.1.126
INFO Uploading /data/build/office-sensor/.pioenvs/office-sensor/firmware.bin (944144 bytes)
ERROR Error binary size: Unknown error from ESP
WARNING Failed to upload to ['192.168.1.126']```