diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index a8b6f5c70e..9c4fe46f34 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -8,16 +8,16 @@ namespace esphome { namespace mcp4461 { struct WiperState { - bool update_level = false; - bool update_terminal = false; + bool enabled = true; + uint16_t state = 0; + optional initial_value; bool terminal_a = true; bool terminal_b = true; bool terminal_w = true; bool terminal_hw = true; - uint16_t state = 0; - bool enabled = true; bool wiper_lock_active = false; - optional initial_value; + bool update_level = false; + bool update_terminal = false; }; // default wiper state is 128 / 0x80h