From f12c304d937c41a1e2390bd0c62404e66802be07 Mon Sep 17 00:00:00 2001 From: Philipp Harms Date: Fri, 18 Oct 2024 23:33:36 +0200 Subject: [PATCH] add voltage_sampler to autoload --- esphome/components/mcp3221/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/mcp3221/sensor.py b/esphome/components/mcp3221/sensor.py index 2080a3cf5e..a06a0676bc 100644 --- a/esphome/components/mcp3221/sensor.py +++ b/esphome/components/mcp3221/sensor.py @@ -9,6 +9,7 @@ from esphome.const import ( UNIT_VOLT, ) +AUTO_LOAD = ["voltage_sampler"] DEPENDENCIES = ["i2c"] # CONF_CONTINUOUS_MODE = "continuous_mode"