From 22351be1e4ebbe52b6e18208fa6d7c83b7f7eba6 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 28 May 2024 08:11:46 +1200 Subject: [PATCH] Log incoming device requests from HA --- esphome/components/bluetooth_proxy/bluetooth_proxy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp b/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp index f188439d0e..fa2c8870cb 100644 --- a/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp +++ b/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp @@ -230,6 +230,7 @@ BluetoothConnection *BluetoothProxy::get_connection_(uint64_t address, bool rese } void BluetoothProxy::bluetooth_device_request(const api::BluetoothDeviceRequest &msg) { + ESP_LOGD(TAG, "Event received: %d", msg.request_type); switch (msg.request_type) { case api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE: case api::enums::BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE: