From 3f22d6ee5ea806d766d6a8e8292f0dd1f8a62417 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 27 Sep 2022 13:17:05 +1300 Subject: [PATCH] flake8 fixes --- aioesphomeapi/client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aioesphomeapi/client.py b/aioesphomeapi/client.py index 47c55de..422fc17 100644 --- a/aioesphomeapi/client.py +++ b/aioesphomeapi/client.py @@ -25,7 +25,6 @@ from .api_pb2 import ( # type: ignore BluetoothGATTReadRequest, BluetoothGATTReadResponse, BluetoothGATTWriteRequest, - BluetoothGATTWriteResponse, BluetoothLEAdvertisementResponse, ButtonCommandRequest, CameraImageRequest, @@ -95,7 +94,6 @@ from .model import ( BluetoothDeviceRequestType, BluetoothGATTRead, BluetoothGATTServices, - BluetoothGATTWrite, BluetoothLEAdvertisement, ButtonInfo, CameraInfo, @@ -440,7 +438,7 @@ class APIClient: async with async_timeout.timeout(timeout): await fut 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: self._check_authenticated()