From 7d897ae764186a6e7f6b69ee53ed93d777354841 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 10 Dec 2023 12:21:54 +0300 Subject: [PATCH] fix --- components/esp32_presense/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32_presense/__init__.py b/components/esp32_presense/__init__.py index 3b4a8cb..fbcebd0 100644 --- a/components/esp32_presense/__init__.py +++ b/components/esp32_presense/__init__.py @@ -30,7 +30,7 @@ CONFIG_SCHEMA = cv.Schema({ async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) - # await cg.register_component(var, config) + await cg.register_component(var, config) cg.add(var.set_room(config[CONF_ROOM_KEY])) # cg.add(var.set_base_topic(config[CONF_BASE_TOPIC_KEY]))