diff --git a/esphome/components/mcp4461/output/mcp4461_output.h b/esphome/components/mcp4461/output/mcp4461_output.h index ce59f065b3..7ebf10e197 100644 --- a/esphome/components/mcp4461/output/mcp4461_output.h +++ b/esphome/components/mcp4461/output/mcp4461_output.h @@ -47,7 +47,7 @@ class Mcp4461Wiper : public output::FloatOutput { Mcp4461WiperIdx wiper_; bool enable_; uint16_t state_; - optional initial_value_; + uint16_t initial_value_; bool terminal_a_; bool terminal_b_; bool terminal_w_;