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]))