mirror of
https://github.com/esphome/esphome.git
synced 2026-05-25 02:16:13 +08:00
[mlx90393] Remove call to non-existent set_drdy_pin method (#15381)
This commit is contained in:
@@ -130,9 +130,6 @@ async def to_code(config):
|
||||
await cg.register_component(var, config)
|
||||
await i2c.register_i2c_device(var, config)
|
||||
|
||||
if CONF_DRDY_PIN in config:
|
||||
pin = await cg.gpio_pin_expression(config[CONF_DRDY_PIN])
|
||||
cg.add(var.set_drdy_pin(pin))
|
||||
cg.add(var.set_gain(GAIN[config[CONF_GAIN]]))
|
||||
cg.add(var.set_oversampling(config[CONF_OVERSAMPLING]))
|
||||
cg.add(var.set_filter(config[CONF_FILTER]))
|
||||
|
||||
Reference in New Issue
Block a user