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, scanner_id: str,
name: str, name: str,
new_info_callback: Callable[[BluetoothServiceInfoBleak], None], new_info_callback: Callable[[BluetoothServiceInfoBleak], None],
connector: HaBluetoothConnector, connector: HaBluetoothConnector | None,
connectable: bool, connectable: bool,
) -> None: ) -> None:
"""Initialize the scanner.""" """Initialize the scanner."""