1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00

Log incoming device requests from HA

This commit is contained in:
Jesse Hills 2024-05-28 08:11:46 +12:00
parent e285196709
commit 22351be1e4
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -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: