#esphome
User-configurable delays in ESPHome
I'm starting to dip my toes into more home automation with Home Assistant and ESPHome, especially around some projects for PEACE. One specific project called for a default delay or timeout on an action, but also permitting user overrides on that timer. The key was also to do the logic and control on the ESPHome device as much as possible.
I found one existing approach for this at Dynamic timers in ESPHome, but that gets into quite a bit of interconnect lambda as well as doing a countdown (well, count up?) on a repeating 1-second tick on a timer.
On reading through the ESPHome Time Component and Datetime Component, though, it seemed like there might be what looks like a much simpler option. It turns out it works!…
·
User-configurable delays in ESPHome