An update that loses bytes on the way to a device can look successful while leaving it unable to boot. ESPHome checks the completed firmware image before installing it through an ESP8266 web server or captive portal, rejecting a damaged file instead of replacing the working software.
The failure was reproduced on a D1 mini by removing about seven kilobytes from an upload. Recovery required a cable and a fresh installation. Native updates and updates fetched by the device already include a separate integrity check; ESP32 has its own validation.
The new check applies to uncompressed files. A compressed .bin.gz web upload remains outside it.