From fec35028e14b269b882cb9011ae6e8f6e9b7927a Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Wed, 5 Feb 2025 12:38:21 +0100 Subject: [PATCH] Update mcp4461.h --- esphome/components/mcp4461/mcp4461.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index e94c143b94..2b1946dc2c 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -11,7 +11,7 @@ struct WiperState { bool terminal_b = true; bool terminal_w = true; bool terminal_hw = true; - uint16_t state; + uint16_t state = 0; bool enabled = true; };