I get the following error when updating:
Compiling .pioenvs/athom-smart-plug-v3-509994/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/athom-smart-plug-v3-509994/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/athom-smart-plug-v3-509994/libFrameworkArduino.a
Linking .pioenvs/athom-smart-plug-v3-509994/firmware.elf
RAM: [== ] 19.2% (used 63052 bytes from 327680 bytes)
Error: The program size (2046514 bytes) is greater than maximum allowed (1835008 bytes)
*** [checkprogsize] Explicit exit, status 1
Flash: [==========] 111.5% (used 2046514 bytes from 1835008 bytes)
========================= [FAILED] Took 288.14 seconds =========================
What is the solution? The release notes mention changing to ESP-IDF framework
https://esphome.io/changelog/2025.7.0.html#esp32-arduino-framework-3-x
You need to switch the Arduino framework to the ESP-IDF framework first
https://github.com/athom-tech/esp32-configs/discussions/20