Namespaces | |
| account_link | |
| alexa_config | |
| assist_pipeline | |
| binary_sensor | |
| client | |
| config_flow | |
| const | |
| google_config | |
| http_api | |
| prefs | |
| repairs | |
| stt | |
| subscription | |
| system_health | |
| tts | |
Classes | |
| class | CloudConnectionState |
| class | CloudNotAvailable |
| class | CloudNotConnected |
Functions | |
| None | _remote_handle_prefs_updated (Cloud[CloudClient] cloud) |
| None | _setup_services (HomeAssistant hass, CloudPreferences prefs) |
| bool | async_active_subscription (HomeAssistant hass) |
| str | async_create_cloudhook (HomeAssistant hass, str webhook_id) |
| None | async_delete_cloudhook (HomeAssistant hass, str webhook_id) |
| str | async_get_or_create_cloudhook (HomeAssistant hass, str webhook_id) |
| bool | async_is_connected (HomeAssistant hass) |
| bool | async_is_logged_in (HomeAssistant hass) |
| Callable[[], None] | async_listen_connection_change (HomeAssistant hass, Callable[[CloudConnectionState], Awaitable[None]|None] target) |
| str | async_remote_ui_url (HomeAssistant hass) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| ALEXA_ENTITY_SCHEMA | |
| ALEXA_SCHEMA | |
| ASSISTANT_SCHEMA | |
| CONFIG_SCHEMA | |
| DEFAULT_MODE = MODE_PROD | |
| GACTIONS_SCHEMA | |
| GOOGLE_ENTITY_SCHEMA | |
| list | PLATFORMS = [Platform.BINARY_SENSOR, Platform.STT, Platform.TTS] |
| string | SERVICE_REMOTE_CONNECT = "remote_connect" |
| string | SERVICE_REMOTE_DISCONNECT = "remote_disconnect" |
| int | STARTUP_REPAIR_DELAY = 1 |
Component to integrate the Home Assistant cloud.
|
private |
Handle remote preferences updated.
Definition at line 352 of file __init__.py.
|
private |
Set up services for cloud component.
Definition at line 389 of file __init__.py.
| bool homeassistant.components.cloud.async_active_subscription | ( | HomeAssistant | hass | ) |
Test if user has an active subscription.
Definition at line 180 of file __init__.py.
| str homeassistant.components.cloud.async_create_cloudhook | ( | HomeAssistant | hass, |
| str | webhook_id | ||
| ) |
Create a cloudhook.
Definition at line 202 of file __init__.py.
| None homeassistant.components.cloud.async_delete_cloudhook | ( | HomeAssistant | hass, |
| str | webhook_id | ||
| ) |
Delete a cloudhook.
Definition at line 217 of file __init__.py.
| str homeassistant.components.cloud.async_get_or_create_cloudhook | ( | HomeAssistant | hass, |
| str | webhook_id | ||
| ) |
Get or create a cloudhook.
Definition at line 185 of file __init__.py.
| bool homeassistant.components.cloud.async_is_connected | ( | HomeAssistant | hass | ) |
Test if connected to the cloud.
Definition at line 164 of file __init__.py.
| bool homeassistant.components.cloud.async_is_logged_in | ( | HomeAssistant | hass | ) |
Test if user is logged in. Note: This returns True even if not currently connected to the cloud.
Definition at line 154 of file __init__.py.
| Callable[[], None] homeassistant.components.cloud.async_listen_connection_change | ( | HomeAssistant | hass, |
| Callable[[CloudConnectionState], Awaitable[None] | None] | target | ||
| ) |
Notify on connection state changes.
Definition at line 170 of file __init__.py.
| str homeassistant.components.cloud.async_remote_ui_url | ( | HomeAssistant | hass | ) |
Get the remote UI URL.
Definition at line 227 of file __init__.py.
| bool homeassistant.components.cloud.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Initialize the Home Assistant cloud.
Definition at line 241 of file __init__.py.
| bool homeassistant.components.cloud.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 374 of file __init__.py.
| bool homeassistant.components.cloud.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 383 of file __init__.py.
| homeassistant.components.cloud.ALEXA_ENTITY_SCHEMA |
Definition at line 81 of file __init__.py.
| homeassistant.components.cloud.ALEXA_SCHEMA |
Definition at line 101 of file __init__.py.
| homeassistant.components.cloud.ASSISTANT_SCHEMA |
Definition at line 97 of file __init__.py.
| homeassistant.components.cloud.CONFIG_SCHEMA |
Definition at line 109 of file __init__.py.
| homeassistant.components.cloud.DEFAULT_MODE = MODE_PROD |
Definition at line 68 of file __init__.py.
| homeassistant.components.cloud.GACTIONS_SCHEMA |
Definition at line 105 of file __init__.py.
| homeassistant.components.cloud.GOOGLE_ENTITY_SCHEMA |
Definition at line 89 of file __init__.py.
| list homeassistant.components.cloud.PLATFORMS = [Platform.BINARY_SENSOR, Platform.STT, Platform.TTS] |
Definition at line 70 of file __init__.py.
| string homeassistant.components.cloud.SERVICE_REMOTE_CONNECT = "remote_connect" |
Definition at line 72 of file __init__.py.
| string homeassistant.components.cloud.SERVICE_REMOTE_DISCONNECT = "remote_disconnect" |
Definition at line 73 of file __init__.py.
| int homeassistant.components.cloud.STARTUP_REPAIR_DELAY = 1 |
Definition at line 79 of file __init__.py.