Allow None connector for BaseHaRemoteScanner (#84847)

This commit is contained in:
Aarni Koskela
2022-12-30 18:49:37 +02:00
committed by GitHub
parent 3ac7c687be
commit 7440c34901

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."""