mirror of
https://github.com/esphome/esphome.git
synced 2025-02-12 01:02:06 +01:00
Fix python formatting
This commit is contained in:
parent
447fa4d066
commit
66a23e7477
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user