mirror of
https://github.com/home-assistant/core.git
synced 2026-12-03 04:08:19 -04:00
Define public names of the alarm_control_panel integration (#186440)
This commit is contained in:
@@ -7,7 +7,7 @@ from typing import Any, Final, final, override
|
||||
from propcache.api import cached_property
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import ( # noqa: F401
|
||||
from homeassistant.const import (
|
||||
ATTR_CODE,
|
||||
ATTR_CODE_FORMAT,
|
||||
SERVICE_ALARM_ARM_AWAY,
|
||||
@@ -25,7 +25,7 @@ from homeassistant.helpers.entity import Entity, EntityDescription
|
||||
from homeassistant.helpers.entity_component import EntityComponent
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
|
||||
from .const import ( # noqa: F401
|
||||
from .const import (
|
||||
ATTR_CHANGED_BY,
|
||||
ATTR_CODE_ARM_REQUIRED,
|
||||
DATA_COMPONENT,
|
||||
@@ -46,6 +46,31 @@ SCAN_INTERVAL: Final = timedelta(seconds=30)
|
||||
|
||||
CONF_DEFAULT_CODE = "default_code"
|
||||
|
||||
__all__ = [
|
||||
"ATTR_CHANGED_BY",
|
||||
"ATTR_CODE",
|
||||
"ATTR_CODE_ARM_REQUIRED",
|
||||
"ATTR_CODE_FORMAT",
|
||||
"CONF_DEFAULT_CODE",
|
||||
"DOMAIN",
|
||||
"ENTITY_ID_FORMAT",
|
||||
"PLATFORM_SCHEMA",
|
||||
"PLATFORM_SCHEMA_BASE",
|
||||
"SERVICE_ALARM_ARM_AWAY",
|
||||
"SERVICE_ALARM_ARM_CUSTOM_BYPASS",
|
||||
"SERVICE_ALARM_ARM_HOME",
|
||||
"SERVICE_ALARM_ARM_NIGHT",
|
||||
"SERVICE_ALARM_ARM_VACATION",
|
||||
"SERVICE_ALARM_DISARM",
|
||||
"SERVICE_ALARM_TRIGGER",
|
||||
"AlarmControlPanelEntity",
|
||||
"AlarmControlPanelEntityDescription",
|
||||
"AlarmControlPanelEntityFeature",
|
||||
"AlarmControlPanelEntityStateAttribute",
|
||||
"AlarmControlPanelState",
|
||||
"CodeFormat",
|
||||
]
|
||||
|
||||
# mypy: disallow-any-generics
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user