Home Assistant Unofficial Reference 2024.12.1
__init__.py
Go to the documentation of this file.
1 """The Bluetooth Adapters integration."""
2 
3 from __future__ import annotations
4 
5 from homeassistant.core import HomeAssistant
6 from homeassistant.helpers import config_validation as cv
7 from homeassistant.helpers.typing import ConfigType
8 
9 DOMAIN = "bluetooth_adapters"
10 
11 CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
12 
13 
14 async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
15  """Set up Bluetooth Adapters from a config entry.
16 
17  This integration is only used as a dependency for other integrations
18  that need Bluetooth Adapters.
19 
20  All integrations that provide Bluetooth Adapters must be listed
21  in after_dependencies in the manifest.json file to ensure
22  they are loaded before this integration.
23  """
24  return True
bool async_setup(HomeAssistant hass, ConfigType config)
Definition: __init__.py:14