Classes | |
| class | _Hass |
| class | _OneTimeListener |
| class | CompressedState |
| class | ConfigSource |
| class | Context |
| class | CoreState |
| class | Event |
| class | EventBus |
| class | EventOrigin |
| class | EventStateChangedData |
| class | EventStateEventData |
| class | EventStateReportedData |
| class | HassJob |
| class | HassJobType |
| class | HassJobWithArgs |
| class | HomeAssistant |
| class | ReleaseChannel |
| class | Service |
| class | ServiceCall |
| class | ServiceRegistry |
| class | State |
| class | StateMachine |
| class | States |
| class | SupportsResponse |
Functions | |
| def | _CallableT |
| Any | _deprecated_core_config () |
| str | _event_repr (EventType[_DataT]|str event_type, EventOrigin origin, _DataT|None data) |
| None | _verify_event_type_length_or_raise (EventType[_DataT]|str event_type) |
| HomeAssistant | async_get_hass () |
| HomeAssistant|None | async_get_hass_or_none () |
| HassJobType | get_hassjob_callable_job_type (Callable[..., Any] target) |
| ReleaseChannel | get_release_channel () |
| bool | is_callback (Callable[..., Any] func) |
| bool | is_callback_check_partial (Callable[..., Any] target) |
| tuple[str, str] | split_entity_id (str entity_id) |
| bool | valid_domain (str domain) |
| bool | valid_entity_id (str entity_id) |
| str | validate_state (str state) |
Variables | |
| __all__ | |
| __dir__ | |
| __getattr__ | |
| _DataT = TypeVar("_DataT", bound=Mapping[str, Any], default=Mapping[str, Any]) | |
| _DEPRECATED_Config | |
| _DEPRECATED_SOURCE_DISCOVERED | |
| _DEPRECATED_SOURCE_STORAGE | |
| _DEPRECATED_SOURCE_YAML | |
| _DOMAIN | |
| _FilterableJobType | |
| _hass | |
| _LOGGER | |
| _OBJECT_ID | |
| _SENTINEL = object() | |
| int | BLOCK_LOG_TIMEOUT = 60 |
| CALLBACK_TYPE | |
| check_if_deprecated_constant | |
| int | CLOSE_STAGE_SHUTDOWN_TIMEOUT = 30 |
| DEFAULT | |
| dir_with_deprecated_constants | |
| DISCOVERED | |
| string | DOMAIN = "homeassistant" |
| EntityServiceResponse | |
| EVENTS_EXCLUDED_FROM_MATCH_ALL | |
| int | FINAL_WRITE_STAGE_SHUTDOWN_TIMEOUT = 60 |
| module_globals | |
| module_globals_keys | |
| ServiceResponse | |
| int | STOP_STAGE_SHUTDOWN_TIMEOUT = 100 |
| int | STOPPING_STAGE_SHUTDOWN_TIMEOUT = 20 |
| STORAGE | |
| TIMEOUT_EVENT_START | |
| VALID_DOMAIN | |
| VALID_ENTITY_ID | |
| YAML | |
Core components of Home Assistant. Home Assistant is a Home Automation framework for observing the state of entities and react to changes.
|
private |
| HomeAssistant homeassistant.core.async_get_hass | ( | ) |
| HomeAssistant | None homeassistant.core.async_get_hass_or_none | ( | ) |
| HassJobType homeassistant.core.get_hassjob_callable_job_type | ( | Callable[..., Any] | target | ) |
| ReleaseChannel homeassistant.core.get_release_channel | ( | ) |
| bool homeassistant.core.is_callback | ( | Callable[..., Any] | func | ) |
| bool homeassistant.core.is_callback_check_partial | ( | Callable[..., Any] | target | ) |
| tuple[str, str] homeassistant.core.split_entity_id | ( | str | entity_id | ) |
| bool homeassistant.core.valid_domain | ( | str | domain | ) |
| bool homeassistant.core.valid_entity_id | ( | str | entity_id | ) |
| str homeassistant.core.validate_state | ( | str | state | ) |
|
private |
| int homeassistant.core.FINAL_WRITE_STAGE_SHUTDOWN_TIMEOUT = 60 |