If anyone is wondering why your ESP32 in your wall as your ESPHome controller randomly flickers and dies...
Especially when you turn on large inductive loads such as a ceiling fan... May I remind you of the fact that the inductive loads have a massive inrush current... Which means a massive magnetic field... Which, to unprotected devkits in your switchboards with coiled up Dupont wire right next to