ESPHome prevents a fault on a classic ESP32’s I²C sensor connection from overwhelming the processor and restarting the entire device. A controller stuck reporting the same error could otherwise leave the device unable to run until its watchdog reset it.
J. Nick Koston’s correction stops the repeated error signal until the next transaction, allowing the device to keep running and the bus to recover. Three ten-minute tests passed the fault sequence that repeatedly crashed the earlier build. The correction applies to classic ESP32 chips; the same failure was not reproduced on the C2, C3 or S3.