I usually write code for ESPhome devices to work on their own even if connection to the server is lost, but I’m having some problems trying to configure a timer and change it’s time via Home Assistant.
I’d like to change that “delay” preset via home assistant, and I’d like the ESP32’ll remember that setting in case, i.e. of a power loss with the server not recovering.
How can I acheive this? Searched on the forums but found nothing other setting up an helper and a global variable, while I’d like to see that setting in the ESP32 page and not on a different entity
Correct. The number can be defined in ESPHome and then you configure it via HA or the ESPHome Web interface for your device, or it can be an entity imported from HA into ESPHome. You can have it both ways but, if you want it independent from HA being around, you want to choose the first approach not the second.