Background Long story made very short: the amplifier inside my ancient 2.1 desktop speakers died and I couldn’t find anything “off the shelf” that would serve as a suitable replacement and integrate well with Home Assistant. So if you can’t buy it, you have to build it! And as it turns out, there’s a whole community of audiophiles that have published designs on all the usual places you’d find free designs for makers.
As much as I love the ESPHome project, there are some features that seem like they’d be essential in an embedded/IoT firmware sdk yet their implementation remain left as an exercise to the user. This post is about one of those “Wait, that’s not built in?! How old is this project?” features: timers. ESPHome, Timers and You To be clear, ESPHome does have all of the primitives needed to build basic timers.