From 6191889745c0a7d85b1931909f9cc9b846563178 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Wed, 3 Jan 2024 00:36:45 +0100 Subject: [PATCH] . --- components/showcase_component/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/showcase_component/__init__.py b/components/showcase_component/__init__.py index 26613e1..bae67fa 100644 --- a/components/showcase_component/__init__.py +++ b/components/showcase_component/__init__.py @@ -14,8 +14,8 @@ CONFIG_SCHEMA = cv.Schema( { cv.GenerateID(): cv.declare_id(ShowcaseComponent), - cv.Required(CONF_UPPER): cv.use_id(output.FloatOutput), - cv.Required(CONF_LOWER): cv.use_id(output.FloatOutput) + cv.Required("upper"): cv.use_id(output.FloatOutput), + cv.Required("lower"): cv.use_id(output.FloatOutput) } ).extend(cv.COMPONENT_SCHEMA).extend(i2c.i2c_device_schema(CONF_I2C_ADDR))