Yesterday I left the sensor running all night and this morning it was still working fine. But this afternoon I found the ESP32 board with a constantly blinking TX led and HA has not received any new data for hours.
I am going to study your suggestion about the “dev version of ESPHome”. I am a newcomer to HA.
What do you think about this link?
https://community.home-assistant.io/t/dfrobot-ultrasonic-sensor-iuntegration/546769/3