Files
project-work/home-assistant/homeassistant/components/bluetooth_adapters/__init__.py
2026-11-19 15:15:32 -05:00

25 lines
749 B
Python

"""The Bluetooth Adapters integration."""
from __future__ import annotations
from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.typing import ConfigType
DOMAIN = "bluetooth_adapters"
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Bluetooth Adapters from a config entry.
This integration is only used as a dependency for other integrations
that need Bluetooth Adapters.
All integrations that provide Bluetooth Adapters must be listed
in after_dependencies in the manifest.json file to ensure
they are loaded before this integration.
"""
return True