mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Define public names of the homeassistant integration (#187166)
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -24,7 +24,6 @@ MISSING_ALL = {
|
||||
"frontend",
|
||||
"google_assistant",
|
||||
"group",
|
||||
"homeassistant",
|
||||
"homeassistant_hardware",
|
||||
"http",
|
||||
"input_boolean",
|
||||
|
||||
Reference in New Issue
Block a user