1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 13:13:50 +00:00

Fixing flake8 suggestions

This commit is contained in:
CptSkippy
2024-05-27 00:11:44 -07:00
parent 1ad85619e0
commit dde08b7eee
3 changed files with 9 additions and 8 deletions

View File

@@ -32,6 +32,7 @@ FINAL_VALIDATE_SCHEMA = uart.final_validate_device_schema(
stop_bits=1,
)
async def to_code(config):
var = cg.new_Pvariable(config[CONF_ID])
await cg.register_component(var, config)