From 62b6c9bf7cee3a67fab39f6dc9870d69add352dd Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 19 Jan 2026 17:37:03 -1000 Subject: [PATCH] [esp32_ble] Deprecate ESPBTUUID::to_string() in favor of heap-free to_str() (#13376) --- esphome/components/esp32_ble/ble_uuid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/esp32_ble/ble_uuid.h b/esphome/components/esp32_ble/ble_uuid.h index ae593955a4..6c8ef7bfd9 100644 --- a/esphome/components/esp32_ble/ble_uuid.h +++ b/esphome/components/esp32_ble/ble_uuid.h @@ -46,6 +46,8 @@ class ESPBTUUID { esp_bt_uuid_t get_uuid() const; + // Remove before 2026.8.0 + ESPDEPRECATED("Use to_str() instead. Removed in 2026.8.0", "2026.2.0") std::string to_string() const; const char *to_str(std::span output) const;