From 3a5fb0096a803f7d9ad52895f4782d948dc9fd39 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Thu, 6 Feb 2025 14:37:05 +0100 Subject: [PATCH] Update mcp4461.cpp --- esphome/components/mcp4461/mcp4461.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/mcp4461/mcp4461.cpp b/esphome/components/mcp4461/mcp4461.cpp index f8779b3ab0..b1274c18da 100644 --- a/esphome/components/mcp4461/mcp4461.cpp +++ b/esphome/components/mcp4461/mcp4461.cpp @@ -21,6 +21,7 @@ void Mcp4461Component::setup() { } void Mcp4461Component::begin_() { + // get WP & WL status this->previous_write_exec_time_ = 0; for (uint8_t i = 0; i < 8; i++) { if (this->reg_[i].enabled) {