mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-05 10:38:58 +00:00
1.1 KiB
1.1 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_qa_scale
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_qa_scale |
---|---|---|---|---|---|---|---|---|---|---|
page | Browser | Instructions on how to setup the browser component with Home Assistant. | 2015-01-24 14:39 | true | false | true | true | home-assistant.png | Utility | internal |
The browser
component provides a service to open URLs in the default browser on the host machine.
To load this component, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
browser:
{% linkable_title Service browser/browse_url
%}
Service data attribute | Optional | Description |
---|---|---|
url |
no | The URL to open. |
{% linkable_title Usage %}
To use this service, choose Call Service from the Developer Tools. Choose the service browser/browse_url from the list of Available services: and enter the URL into the Service Data field and hit CALL SERVICE.
{"url": "http://www.google.com"}
This will open the given URL on the host machine.