ESP home is so powerful like this. And is great to build components for (although I find this part a little complex, lots of Claude help…).
I’ve got a vibe coded “Nuaire Fan” controller to talk UART to my whole home ventilation and present it as a HA controllable fan.