Update sensor.py

This commit is contained in:
Masterz69 2024-04-06 09:39:14 +03:00 committed by GitHub
parent 51ac5ff523
commit eaa3af8c49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
)