[bthome] Add USE_ESP32_BLE_UUID define

Add USE_ESP32_BLE_UUID compile-time define to enable UUID support in
the BTHome component, consistent with other BLE components like
esp32_ble_beacon and esp32_ble_server.
This commit is contained in:
Claude
2025-11-18 02:55:34 +00:00
parent dd429a5f70
commit 7878568260
+1
View File
@@ -224,6 +224,7 @@ async def to_code(config):
advertise_immediately = measurement[CONF_ADVERTISE_IMMEDIATELY]
cg.add(var.add_binary_measurement(sens, object_id, advertise_immediately))
cg.add_define("USE_ESP32_BLE_UUID")
cg.add_define("USE_ESP32_BLE_ADVERTISING")
add_idf_sdkconfig_option("CONFIG_BT_ENABLED", True)