|Adding a snippet helps re-programming a ESP with|
init.lua calling deep sleep without flashing the whole
This way it's not not necessary to re-flash the whole firmware, but just upload your new version and test on.
Click on the "Snippets" tab, choose the snippet you want to add on the left side, and add these two lines:
You can also rename the button with a text that suits the task.