From 95d670c3af5919f955b34b1c589c0f704e6b3d93 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Fri, 7 Feb 2025 17:41:30 +0100 Subject: [PATCH] Update __init__.py --- esphome/components/mcp4461/output/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/mcp4461/output/__init__.py b/esphome/components/mcp4461/output/__init__.py index 542bdd7abd..0ffb1bb75d 100644 --- a/esphome/components/mcp4461/output/__init__.py +++ b/esphome/components/mcp4461/output/__init__.py @@ -53,8 +53,8 @@ async def to_code(config): config[CONF_TERMINAL_W], ) if CONF_INITIAL_VALUE in config: - cg.add(parent.set_initial_value( - config[CONF_CHANNEL], config[CONF_INITIAL_VALUE]) + cg.add( + parent.set_initial_value(config[CONF_CHANNEL], config[CONF_INITIAL_VALUE]) ) await output.register_output(var, config) await cg.register_parented(var, config[CONF_MCP4461_ID])