ESP32: LED turns on when deep sleep is activated
As pointed out in the comments, the issue was coming from a &quot;weak pull-down syndrome&quot;: I simply changed the pin declaration to MY_LED = Pin(15, Pin.OUT, Pin.PULL_DOWN) and the problem went away.