Add bluetooth options flow to pick the adapter (#75701)

This commit is contained in:
J. Nick Koston 2022-07-25 09:52:35 -05:00 committed by GitHub
parent 3df7892454
commit a813cf987b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 318 additions and 31 deletions

View file

@ -2,3 +2,10 @@
DOMAIN = "bluetooth"
DEFAULT_NAME = "Bluetooth"
CONF_ADAPTER = "adapter"
MACOS_DEFAULT_BLUETOOTH_ADAPTER = "CoreBluetooth"
UNIX_DEFAULT_BLUETOOTH_ADAPTER = "hci0"
DEFAULT_ADAPTERS = {MACOS_DEFAULT_BLUETOOTH_ADAPTER, UNIX_DEFAULT_BLUETOOTH_ADAPTER}