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; };