From 92b29573bb5b33b665c27d30bae5e3c5d42e5d43 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 11:08:51 -0500 Subject: [PATCH] binary sensor --- components/ratgdo/binary_sensor/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ratgdo/binary_sensor/__init__.py b/components/ratgdo/binary_sensor/__init__.py index ee9b3ed..190b559 100644 --- a/components/ratgdo/binary_sensor/__init__.py +++ b/components/ratgdo/binary_sensor/__init__.py @@ -5,6 +5,7 @@ from esphome.components import binary_sensor from .. import ( ratgdo_ns, register_ratgdo_child, + RATGDO_CLIENT_SCHMEA ) DEPENDENCIES = ["ratgdo"] @@ -22,7 +23,7 @@ CONFIG_SCHEMA = binary_sensor.BINARY_SENSOR_SCHEMA.extend( cv.GenerateID(): cv.declare_id(RATGDOBinarySensor), cv.Required(CONF_TYPE): str } -).extend(cv.COMPONENT_SCHEMA) +).extend(RATGDO_CLIENT_SCHMEA) async def to_code(config):