c0ffeeca7 fad4989470
b and c integrations: minor style change (#29898)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2023-11-20 08:47:18 +01:00

43 lines
1.2 KiB
Markdown

---
title: Browser
description: Instructions on how to setup the browser integration with Home Assistant.
ha_category:
- Utility
ha_release: pre 0.7
ha_iot_class: Local Push
ha_quality_scale: internal
ha_domain: browser
ha_integration_type: integration
---
The **Browser** {% term 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`:
```yaml
# Example configuration.yaml entry
browser:
```
### Services
Once loaded, the `browser` platform will expose {% term services %} that can be called to perform various {% term actions %}.
Available services: `browser/browse_url`.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `url` | no | The URL to open.
### Usage
To use this {% term 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**.
```json
{"url": "http://www.google.com"}
```
This will open the given URL on the host machine.