Home Asssistant custom integration for A02YYUW Waterproof Ultrasonic Sensor
In Home Assistant, set up the relevant entries in configuration.yml
Set up the esphome add-on. Install esphome on the ESP32
Copy sump-pump.yaml and sump.h to the Home Assistant's config/esphome directory. Edit the device and install the config and code