From c7607d29c7cf4d6cdb77bc5db2db048ad75ef5b7 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Thu, 6 Feb 2025 20:57:40 +0100 Subject: [PATCH] Update __init__.py --- esphome/components/mcp4461/output/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/components/mcp4461/output/__init__.py b/esphome/components/mcp4461/output/__init__.py index d095bdbe49..22b2b9a0c0 100644 --- a/esphome/components/mcp4461/output/__init__.py +++ b/esphome/components/mcp4461/output/__init__.py @@ -6,7 +6,9 @@ from .. import Mcp4461Component, CONF_MCP4461_ID, mcp4461_ns DEPENDENCIES = ["mcp4461"] -Mcp4461Wiper = mcp4461_ns.class_("Mcp4461Wiper", output.FloatOutput) +Mcp4461Wiper = mcp4461_ns.class_( + "Mcp4461Wiper", output.FloatOutput, , cg.Parented.template(Mcp4461Component) +) Mcp4461WiperIdx = mcp4461_ns.enum("Mcp4461WiperIdx") CHANNEL_OPTIONS = {