mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-25 22:07:35 +00:00

* Rename Services to Actions in integrations: B * Apply suggestions from code review Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
1.3 KiB
1.3 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_quality_scale | ha_domain | ha_integration_type | related | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Browser | Instructions on how to setup the browser integration with Home Assistant. |
|
pre 0.7 | Local Push | internal | browser | integration |
|
The Browser {% term integration %} 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 {% term "configuration.yaml
" %} file.
{% include integrations/restart_ha_after_config_inclusion.md %}
# Example configuration.yaml entry
browser:
Actions
Once loaded, the browser
platform will expose {% term actions %} that can be called to perform various {% term actions %}.
Available actions: browser/browse_url
.
Data attribute | Optional | Description |
---|---|---|
url |
no | The URL to open. |
Usage
To use this {% term action %}, 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.