1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-19 03:18:14 +00:00

Update __init__.py

expected 2 blank lines
This commit is contained in:
Iron Man 2024-04-23 19:10:44 +02:00 committed by GitHub
parent d4a922c0d1
commit a20be8851b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,6 +41,7 @@ CONFIG_SCHEMA = (
.extend(i2c.i2c_device_schema(0x18))
)
async def to_code(config):
var = cg.new_Pvariable(config[CONF_ID])
await cg.register_component(var, config)