From 63b26623d8a7df02c7dee3c04f216c8f5dcd1364 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Sun, 9 Feb 2025 17:37:23 +0100 Subject: [PATCH] Update mcp4461.h --- esphome/components/mcp4461/mcp4461.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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