mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-26 06:17:35 +00:00
1.2 KiB
1.2 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_quality_scale | ha_domain | ha_integration_type | |
---|---|---|---|---|---|---|---|---|
Browser | Instructions on how to setup the browser integration with Home Assistant. |
|
pre 0.7 | Local Push | internal | browser | integration |
The browser
integration provides a service to open URLs in the default browser on the host machine.
Configuration
To load this integration, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
browser:
Services
Once loaded, the browser
platform will expose services that can be called to perform various actions.
Available services: browser/browse_url
.
Service data attribute | Optional | Description |
---|---|---|
url |
no | The URL to open. |
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.