diff --git a/esphome/components/ble_device_base/ble_device.h b/esphome/components/ble_device_base/ble_device.h index ee3256d11f..e340bf673c 100644 --- a/esphome/components/ble_device_base/ble_device.h +++ b/esphome/components/ble_device_base/ble_device.h @@ -85,8 +85,8 @@ class ESPBTUUID { bool operator==(const ESPBTUUID &other) const; bool operator!=(const ESPBTUUID &other) const { return !(*this == other); } - /// Write "0xABCD" / "0xABCDEF01" / the dashed 128-bit form into buf - /// (>= UUID_STR_LEN bytes) and return buf. + /// Write "0xABCD" / "0xABCDEF01" / the dashed 128-bit form, or "None" for an + /// unset UUID, into buf (>= UUID_STR_LEN bytes) and return buf. const char *to_str(char *buf) const; #if defined(__cpp_lib_span) const char *to_str(std::span output) const { return this->to_str(output.data()); }