Namespaces | |
| alarm_control_panel | |
| binary_sensor | |
| climate | |
| config_flow | |
| const | |
| discovery | |
| entity | |
| light | |
| logbook | |
| models | |
| scene | |
| sensor | |
| switch | |
Functions | |
| ConfigEntry|None | _async_find_matching_config_entry (HomeAssistant hass, str prefix) |
| Panel | _async_get_elk_panel (HomeAssistant hass, ServiceCall service) |
| None | _create_elk_services (HomeAssistant hass) |
| tuple[int, int] | _elk_range_validator (str rng) |
| Elk|None | _find_elk_by_prefix (HomeAssistant hass, str prefix) |
| list[dict[str, str]] | _has_all_unique_prefixes (list[dict[str, str]] value) |
| dict[str, str] | _host_validator (dict[str, str] config) |
| None | _included (list[tuple[int, int]] ranges, bool set_to, list[bool] values) |
| bool | async_setup (HomeAssistant hass, ConfigType hass_config) |
| bool | async_setup_entry (HomeAssistant hass, ElkM1ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ElkM1ConfigEntry entry) |
| bool | async_wait_for_elk_to_sync (Elk elk, int login_timeout, int sync_timeout) |
| str | hostname_from_url (str url) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_SCHEMA | |
| DEVICE_SCHEMA | |
| DEVICE_SCHEMA_SUBDOMAIN | |
| ElkM1ConfigEntry | |
| list | PLATFORMS |
| SET_TIME_SERVICE_SCHEMA | |
| SPEAK_SERVICE_SCHEMA | |
| int | SYNC_TIMEOUT = 120 |
Support the ElkM1 Gold and ElkM1 EZ8 alarm/integration panels.
|
private |
Definition at line 225 of file __init__.py.
|
private |
Get the ElkM1 panel from a service call.
Definition at line 395 of file __init__.py.
|
private |
Create ElkM1 services.
Definition at line 404 of file __init__.py.
|
private |
Definition at line 114 of file __init__.py.
|
private |
Search all config entries for a given prefix.
Definition at line 328 of file __init__.py.
|
private |
Validate that each m1 configured has a unique prefix. Uniqueness is determined case-independently.
Definition at line 130 of file __init__.py.
|
private |
Validate that a host is properly configured.
Definition at line 102 of file __init__.py.
|
private |
Definition at line 321 of file __init__.py.
| bool homeassistant.components.elkm1.async_setup | ( | HomeAssistant | hass, |
| ConfigType | hass_config | ||
| ) |
Set up the Elk M1 platform.
Definition at line 179 of file __init__.py.
| bool homeassistant.components.elkm1.async_setup_entry | ( | HomeAssistant | hass, |
| ElkM1ConfigEntry | entry | ||
| ) |
Set up Elk-M1 Control from a config entry.
Definition at line 234 of file __init__.py.
| bool homeassistant.components.elkm1.async_unload_entry | ( | HomeAssistant | hass, |
| ElkM1ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 339 of file __init__.py.
| bool homeassistant.components.elkm1.async_wait_for_elk_to_sync | ( | Elk | elk, |
| int | login_timeout, | ||
| int | sync_timeout | ||
| ) |
Wait until the elk has finished sync. Can fail login or timeout.
Definition at line 347 of file __init__.py.
| str homeassistant.components.elkm1.hostname_from_url | ( | str | url | ) |
Return the hostname from a url.
Definition at line 97 of file __init__.py.
|
private |
Definition at line 71 of file __init__.py.
| homeassistant.components.elkm1.CONFIG_SCHEMA |
Definition at line 173 of file __init__.py.
| homeassistant.components.elkm1.DEVICE_SCHEMA |
Definition at line 149 of file __init__.py.
| homeassistant.components.elkm1.DEVICE_SCHEMA_SUBDOMAIN |
Definition at line 141 of file __init__.py.
| homeassistant.components.elkm1.ElkM1ConfigEntry |
Definition at line 67 of file __init__.py.
| list homeassistant.components.elkm1.PLATFORMS |
Definition at line 73 of file __init__.py.
| homeassistant.components.elkm1.SET_TIME_SERVICE_SCHEMA |
Definition at line 90 of file __init__.py.
| homeassistant.components.elkm1.SPEAK_SERVICE_SCHEMA |
Definition at line 83 of file __init__.py.
| int homeassistant.components.elkm1.SYNC_TIMEOUT = 120 |
Definition at line 69 of file __init__.py.