DS1603L Ultrasonic Distance Sensor
DS1603L V1.0 Ultrasonic Sensor (datasheet) over UART without modification.
This sensor can measure ranges between 5 centimeters and 200 centimeters with a resolution of 1 millimeter.
Since this sensor reads every few seconds, Sensor Filters are highly recommended.
To use the sensor, first set up an UART Bus with a baud rate of 9600 and connect the sensor to the specified pin.
NOTE
These sensors read from the bottom of a tank and need to have some kind of couplant for them to work. There can be no air gap between sensor and bottom of container. Silicone grease is recommended and easily found at most automotive or hardware stores.

# Example configuration entrysensor: - platform: ds1603l name: DistanceConfiguration variables
Section titled “Configuration variables”- All options from Sensor.
Full Example
Section titled “Full Example”uart: #required for sensor - id: uart_1 tx_pin: GPIOXX rx_pin: GPIOXX baud_rate: 9600
################# Sensor #################
sensor: - platform: ds1603l uart_id: uart_1 # must match uart config state_class: measurement # default device_class: distance # default name: "DS1603L Distance" # name for HA unit_of_measurement: "mm" # sensor outputs mm, can be set to anything but will need filtering to convert icon: mdi:arrow-expand-vertical # icon for HA filters: # some filters I found useful - filter_out: nan - delta: 1.0