diff --git a/aioesphomeapi/core.py b/aioesphomeapi/core.py index be094db..d8f509d 100644 --- a/aioesphomeapi/core.py +++ b/aioesphomeapi/core.py @@ -4,6 +4,7 @@ from .api_pb2 import ( # type: ignore BluetoothDeviceConnectionResponse, BluetoothDeviceRequest, BluetoothGATTGetServicesRequest, + BluetoothGATTGetServicesDoneResponse, BluetoothGATTGetServicesResponse, BluetoothGATTNotifyDataResponse, BluetoothGATTNotifyRequest, @@ -210,13 +211,14 @@ MESSAGE_TYPE_TO_PROTO = { 69: BluetoothDeviceConnectionResponse, 70: BluetoothGATTGetServicesRequest, 71: BluetoothGATTGetServicesResponse, - 72: BluetoothGATTReadRequest, - 73: BluetoothGATTReadResponse, - 74: BluetoothGATTWriteRequest, - 75: BluetoothGATTReadDescriptorRequest, - 76: BluetoothGATTWriteDescriptorRequest, - 77: BluetoothGATTNotifyRequest, - 78: BluetoothGATTNotifyDataResponse, - 79: SubscribeBluetoothConnectionsFreeRequest, - 80: BluetoothConnectionsFreeResponse, + 72: BluetoothGATTGetServicesDoneResponse, + 73: BluetoothGATTReadRequest, + 74: BluetoothGATTReadResponse, + 75: BluetoothGATTWriteRequest, + 76: BluetoothGATTReadDescriptorRequest, + 77: BluetoothGATTWriteDescriptorRequest, + 78: BluetoothGATTNotifyRequest, + 79: BluetoothGATTNotifyDataResponse, + 80: SubscribeBluetoothConnectionsFreeRequest, + 81: BluetoothConnectionsFreeResponse, }