Update __init__.py

This commit is contained in:
haudamekki 2024-10-19 20:57:53 +02:00 committed by GitHub
parent a9aed695ff
commit 373d62ec1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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