From 32fe442ccea733b20251b2e8592232b335f4dc6a Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 10 Dec 2023 13:08:31 +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 fbcebd0..23e303e 100644 --- a/components/esp32_presense/__init__.py +++ b/components/esp32_presense/__init__.py @@ -35,7 +35,7 @@ async def to_code(config): cg.add(var.set_room(config[CONF_ROOM_KEY])) # cg.add(var.set_base_topic(config[CONF_BASE_TOPIC_KEY])) # cg.add(var.set_addresses(config[CONF_MAC_KEY])) - # cg.add(var.set_max_distance(config[CONF_MAX_DISTANCE])) + cg.add(var.set_max_distance(config[CONF_MAX_DISTANCE])) add_idf_sdkconfig_option("CONFIG_BT_ENABLED", True) add_idf_sdkconfig_option("CONFIG_BT_BLUEDROID_ENABLED", False)