mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Define public names of the network integration (#187247)
This commit is contained in:
@@ -25,6 +25,20 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
|
||||
|
||||
__all__ = [
|
||||
"DOMAIN",
|
||||
"MDNS_TARGET_IP",
|
||||
"Adapter",
|
||||
"async_get_adapters",
|
||||
"async_get_announce_addresses",
|
||||
"async_get_enabled_source_ips",
|
||||
"async_get_enabled_source_ips_from_adapters",
|
||||
"async_get_ipv4_broadcast_addresses",
|
||||
"async_get_loaded_adapters",
|
||||
"async_get_source_ip",
|
||||
"async_only_default_interface_enabled",
|
||||
]
|
||||
|
||||
|
||||
def _check_docker_without_host_networking() -> bool:
|
||||
"""Check if we are not using host networking in Docker."""
|
||||
|
||||
@@ -5,8 +5,8 @@ from typing import Any
|
||||
from homeassistant.components import system_health
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
|
||||
from . import Adapter, async_get_adapters, async_get_announce_addresses
|
||||
from .models import IPv4ConfiguredAddress, IPv6ConfiguredAddress
|
||||
from . import async_get_adapters, async_get_announce_addresses
|
||||
from .models import Adapter, IPv4ConfiguredAddress, IPv6ConfiguredAddress
|
||||
|
||||
|
||||
@callback
|
||||
|
||||
@@ -20,7 +20,6 @@ MISSING_ALL = {
|
||||
"input_boolean",
|
||||
"input_select",
|
||||
"llm",
|
||||
"network",
|
||||
"person",
|
||||
"shopping_list",
|
||||
"sun",
|
||||
|
||||
Reference in New Issue
Block a user