diff --git a/esphome/components/sen0501_i2c/sensor.py b/esphome/components/sen0501_i2c/sensor.py index 9c40a82951..e2b05f56bf 100644 --- a/esphome/components/sen0501_i2c/sensor.py +++ b/esphome/components/sen0501_i2c/sensor.py @@ -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 = (