Allow None connector for BaseHaRemoteScanner (#84847)

pull/84862/head
Aarni Koskela 2022-12-30 18:49:37 +02:00 committed by GitHub
parent 3ac7c687be
commit 7440c34901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class BaseHaRemoteScanner(BaseHaScanner):
scanner_id: str,
name: str,
new_info_callback: Callable[[BluetoothServiceInfoBleak], None],
connector: HaBluetoothConnector,
connector: HaBluetoothConnector | None,
connectable: bool,
) -> None:
"""Initialize the scanner."""