mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-28 13:05:12 +01:00
flake8 fixes
This commit is contained in:
parent
a671b723d0
commit
3f22d6ee5e
@ -25,7 +25,6 @@ from .api_pb2 import ( # type: ignore
|
|||||||
BluetoothGATTReadRequest,
|
BluetoothGATTReadRequest,
|
||||||
BluetoothGATTReadResponse,
|
BluetoothGATTReadResponse,
|
||||||
BluetoothGATTWriteRequest,
|
BluetoothGATTWriteRequest,
|
||||||
BluetoothGATTWriteResponse,
|
|
||||||
BluetoothLEAdvertisementResponse,
|
BluetoothLEAdvertisementResponse,
|
||||||
ButtonCommandRequest,
|
ButtonCommandRequest,
|
||||||
CameraImageRequest,
|
CameraImageRequest,
|
||||||
@ -95,7 +94,6 @@ from .model import (
|
|||||||
BluetoothDeviceRequestType,
|
BluetoothDeviceRequestType,
|
||||||
BluetoothGATTRead,
|
BluetoothGATTRead,
|
||||||
BluetoothGATTServices,
|
BluetoothGATTServices,
|
||||||
BluetoothGATTWrite,
|
|
||||||
BluetoothLEAdvertisement,
|
BluetoothLEAdvertisement,
|
||||||
ButtonInfo,
|
ButtonInfo,
|
||||||
CameraInfo,
|
CameraInfo,
|
||||||
@ -440,7 +438,7 @@ class APIClient:
|
|||||||
async with async_timeout.timeout(timeout):
|
async with async_timeout.timeout(timeout):
|
||||||
await fut
|
await fut
|
||||||
except asyncio.TimeoutError as err:
|
except asyncio.TimeoutError as err:
|
||||||
raise TimeoutAPIError(f"Timeout waiting for connect response") from err
|
raise TimeoutAPIError("Timeout waiting for connect response") from err
|
||||||
|
|
||||||
async def bluetooth_device_disconnect(self, address: int) -> None:
|
async def bluetooth_device_disconnect(self, address: int) -> None:
|
||||||
self._check_authenticated()
|
self._check_authenticated()
|
||||||
|
Loading…
Reference in New Issue
Block a user