diff --git a/esphome/components/mcp4461/output/__init__.py b/esphome/components/mcp4461/output/__init__.py index be26f1007d..ea15a7598a 100644 --- a/esphome/components/mcp4461/output/__init__.py +++ b/esphome/components/mcp4461/output/__init__.py @@ -52,5 +52,6 @@ async def to_code(config): config[CONF_TERMINAL_W], ) await output.register_output(var, config) + await cg.register_parented(var, config[CONF_MCP4461_ID]) if CONF_INITIAL_VALUE in config: cg.add(var.set_initial_value(config[CONF_INITIAL_VALUE]))