Update class name in sensor.py

This commit is contained in:
thetestspecimen 2024-10-10 22:34:10 +03:00
parent cd5c7b3f7a
commit 0e54b61564
No known key found for this signature in database
GPG Key ID: C88001C355A25170

View File

@ -35,7 +35,7 @@ DEPENDENCIES = ["i2c"]
sen0501_ns = cg.esphome_ns.namespace("sen0501_i2c")
Sen0501I2CComponent = sen0501_ns.class_(
"Sen0501_i2cComponent", cg.PollingComponent, i2c.I2CDevice
"Sen0501I2CComponent", cg.PollingComponent, i2c.I2CDevice
)
CONFIG_SCHEMA = (