ESPHome turns cheap ESP32 chips into private smart home devices using nothing but YAML: sensors, switches and plugs that talk only to your own Home Assistant, no vendor cloud and no firmware you cannot read. Open source and endlessly flexible.
It assumes you enjoy flashing hardware and editing configuration files. The reward is smart home devices with no possible data leak, because there is nothing leaving the house.