diff --git a/esphome/components/esp32_ble/ble_advertising.h b/esphome/components/esp32_ble/ble_advertising.h index 83db8fcd31..7a31d926f6 100644 --- a/esphome/components/esp32_ble/ble_advertising.h +++ b/esphome/components/esp32_ble/ble_advertising.h @@ -39,7 +39,6 @@ class BLEAdvertising { void set_service_data(const std::vector &data); void set_service_data(std::span data); void set_include_name(bool include_name) { this->include_name_in_adv_ = include_name; } - bool get_include_name() const { return this->include_name_in_adv_; } void register_raw_advertisement_callback(std::function &&callback); void start();