I programmed it with ESPHome, and it only took a few hours from start to finish.
Home Assistant isn't the only smart home management utility in my FOSS toolkit ...