Define public names of the homeassistant integration (#187166)

This commit is contained in:
epenet
2026-10-18 18:53:58 +02:00
committed by GitHub
parent c00c02fa44
commit d810baffc2
2 changed files with 15 additions and 4 deletions
@@ -22,11 +22,11 @@ from .const import (
DATA_EXPOSED_ENTITIES,
DATA_STOP_HANDLER,
DOMAIN,
SERVICE_HOMEASSISTANT_RESTART, # noqa: F401
SERVICE_HOMEASSISTANT_STOP, # noqa: F401
SERVICE_HOMEASSISTANT_RESTART,
SERVICE_HOMEASSISTANT_STOP,
HomeAssistantService,
)
from .exposed_entities import ExposedEntities, async_should_expose # noqa: F401
from .exposed_entities import ExposedEntities, async_should_expose
from .services import async_setup_services
# To be deprecated at a later stage, replaced by HomeAssistantService
@@ -43,6 +43,18 @@ DEPRECATION_URL = (
"deprecating-core-and-supervised-installation-methods-and-32-bit-systems/"
)
__all__ = [
"DOMAIN",
"SERVICE_HOMEASSISTANT_RESTART",
"SERVICE_HOMEASSISTANT_STOP",
"SERVICE_RELOAD_ALL",
"SERVICE_RELOAD_CONFIG_ENTRY",
"SERVICE_RELOAD_CORE_CONFIG",
"SERVICE_RELOAD_CUSTOM_TEMPLATES",
"async_set_stop_handler",
"async_should_expose",
]
def _is_32_bit() -> bool:
size = struct.calcsize("P")
-1
View File
@@ -24,7 +24,6 @@ MISSING_ALL = {
"frontend",
"google_assistant",
"group",
"homeassistant",
"homeassistant_hardware",
"http",
"input_boolean",