Home Assistant Cloud
The Home Assistant Cloud allows you to quickly integrate your local Home Assistant with various cloud services, such as the following:
- Amazon Alexa
- Google Assistant
- Secure remote access
- Speech-to-text
- Text-to-speech
- Offsite backup location
- Webhooks support
- Better WebRTC for camera streaming
Configuration
This integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] is by default enabled, unless you’ve disabled or removed the default_config: line from your configuration. If that is the case, the following example shows you how to enable this integration manually:
# Example configuration.yaml entry to enable the cloud component
cloud:
Documentation of further configuration possibilities are located at NabuCasa
Once activated, go to the configuration panel in Home Assistant, create an account, and log in. If you are not seeing the Settings panel, make sure you have the following option enabled in your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
config:
List of actions
The Home Assistant Cloud integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Enable Home Assistant Cloud remote access (
cloud.remote_connect) Turns on remote access to your Home Assistant through Home Assistant Cloud. -
Disable Home Assistant Cloud remote access (
cloud.remote_disconnect) Turns off remote access to your Home Assistant through Home Assistant Cloud.
For an overview of every action across all integrations, see the actions reference.
Home Assistant Cloud automation examples
With the remote access actions, you decide when your Home Assistant is reachable from outside your home.
You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.
Automation: turn on remote access when you leave home
Only open up remote access when you actually need it. This automation turns it on when you leave home.
-
Trigger: Zone
-
Entity with location: You (
person.you) - Zone: Home
- Event: Leave
-
Entity with location: You (
- Action: Home Assistant Cloud: Enable Home Assistant Cloud remote access
YAML example for turning on remote access when you leave
alias: "Turn on remote access when I leave"
triggers:
- trigger: zone
entity_id: person.you
zone: zone.home
event: leave
actions:
- action: cloud.remote_connect
Automation: turn off remote access when you get home
When you’re home, you reach Home Assistant on your local network. This automation turns remote access off when you arrive.
-
Trigger: Zone
-
Entity with location: You (
person.you) - Zone: Home
- Event: Enter
-
Entity with location: You (
- Action: Home Assistant Cloud: Disable Home Assistant Cloud remote access
YAML example for turning off remote access when you get home
alias: "Turn off remote access when I get home"
triggers:
- trigger: zone
entity_id: person.you
zone: zone.home
event: enter
actions:
- action: cloud.remote_disconnect