diff --git a/esphome/components/ultrasonic_uart/sensor.py b/esphome/components/ultrasonic_uart/sensor.py index 586e8699ae..948c15ebff 100644 --- a/esphome/components/ultrasonic_uart/sensor.py +++ b/esphome/components/ultrasonic_uart/sensor.py @@ -5,6 +5,7 @@ from esphome.const import ( STATE_CLASS_MEASUREMENT, UNIT_CENTIMETER, ICON_ARROW_EXPAND_VERTICAL, + DEVICE_CLASS_DISTANCE, ) DEPENDENCIES = ["uart"]