From eaa3af8c492ed6dcab7fc4048a4b09a41c8f33b4 Mon Sep 17 00:00:00 2001 From: Masterz69 Date: Sat, 6 Apr 2024 09:39:14 +0300 Subject: [PATCH] Update sensor.py --- esphome/components/ultrasonic_uart/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/ultrasonic_uart/sensor.py b/esphome/components/ultrasonic_uart/sensor.py index 948c15ebff..5ddb0ff71f 100644 --- a/esphome/components/ultrasonic_uart/sensor.py +++ b/esphome/components/ultrasonic_uart/sensor.py @@ -26,7 +26,7 @@ CONFIG_SCHEMA = ( accuracy_decimals=2, state_class=STATE_CLASS_MEASUREMENT, device_class=DEVICE_CLASS_DISTANCE, -) + ) .extend(cv.polling_component_schema("60s")) .extend(uart.UART_DEVICE_SCHEMA) )