From b0f19c41986e36be30634b2bd6efa49139c5b252 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Sun, 9 Feb 2025 12:02:03 +0100 Subject: [PATCH] Update mcp4461.cpp --- esphome/components/mcp4461/mcp4461.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/mcp4461/mcp4461.cpp b/esphome/components/mcp4461/mcp4461.cpp index a0f19ce65c..1fc0bb2232 100644 --- a/esphome/components/mcp4461/mcp4461.cpp +++ b/esphome/components/mcp4461/mcp4461.cpp @@ -52,6 +52,8 @@ static const LogString *mcp4461_get_message_string_(int status) { return LOG_STR("Status register could not be read"); case Mcp4461Component::MCP4461_STATUS_REGISTER_INVALID: return LOG_STR("Invalid status register value - bits 1,7 or 8 are 0"); + case Mcp4461Component::MCP4461_STATUS_REGISTER_ERROR: + return LOG_STR("Parent component failed"); case Mcp4461Component::MCP4461_VALUE_INVALID: return LOG_STR("Invalid value for wiper given"); case Mcp4461Component::MCP4461_WRITE_PROTECTED: