diff --git a/esphome/components/mcp3428/mcp3428.cpp b/esphome/components/mcp3428/mcp3428.cpp index 75b4f4e71f..f244551d2c 100644 --- a/esphome/components/mcp3428/mcp3428.cpp +++ b/esphome/components/mcp3428/mcp3428.cpp @@ -46,7 +46,7 @@ void MCP3428Component::setup() { return; } this->prev_config_ = config; - single_measurement_active_ = false; + this->single_measurement_active_ = false; } void MCP3428Component::dump_config() {