esphome is by far the best and most useful piece of software I've encountered in a long time!
Even for non home automation. Simple web API to turn gpio's on or off, coupled with some relays makes for a great easy yaml configurable industrial automation system