Browser

The Browser integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides a action to open URLs in the default browser on the host machine.

Configuration

To load this integration, add the following lines to 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. After changing the 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, restart Home Assistant to apply the changes.

# Example configuration.yaml entry
browser:

Actions

Once loaded, the browser platform will expose actionsActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more] that can be called to perform various actionsActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more].

Available actions: browser/browse_url.

Data attribute Optional Description
url no The URL to open.

Usage

To use this actionActions are used in several places in Home Assistant. As part of a script or automation, actions define what is going to happen once a trigger is activated. In scripts, an action is called sequence. [Learn more], select the Actions tab from the Developer Tools. Choose the action browser/browse_url from the list of Actions: and enter the URL into the data field and select Perform action.

{"url": "http://www.google.com"}

This will open the given URL on the host machine.