Fix python formatting

This commit is contained in:
Bonne Eggleston 2025-01-20 18:34:09 -08:00
parent 447fa4d066
commit 66a23e7477
No known key found for this signature in database

View File

@ -51,14 +51,14 @@ CONFIG_SCHEMA = (
.extend(uart.UART_DEVICE_SCHEMA)
)
def validate_rx_full_threshold_uart(config):
uart.final_validate_device_schema(
"modbus", rx_full_threshold=1
)(config)
uart.final_validate_device_schema("modbus", rx_full_threshold=1)(config)
FINAL_VALIDATE_SCHEMA = validate_rx_full_threshold_uart
async def to_code(config):
cg.add_global(modbus_ns.using)
var = cg.new_Pvariable(config[CONF_ID])