mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-28 13:05:12 +01:00
Add failed flag to connection state response
This commit is contained in:
parent
9b3b6f4b94
commit
86512bc607
@ -1187,6 +1187,7 @@ message BluetoothDeviceConnectionResponse {
|
|||||||
uint64 address = 1;
|
uint64 address = 1;
|
||||||
bool connected = 2;
|
bool connected = 2;
|
||||||
uint32 mtu = 3;
|
uint32 mtu = 3;
|
||||||
|
bool failed = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BluetoothGATTGetServicesRequest {
|
message BluetoothGATTGetServicesRequest {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -804,6 +804,7 @@ class BluetoothDeviceConnection(APIModelBase):
|
|||||||
address: int = 0
|
address: int = 0
|
||||||
connected: bool = False
|
connected: bool = False
|
||||||
mtu: int = 0
|
mtu: int = 0
|
||||||
|
failed: bool = False
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user