Jorim Tielemans c0d8b1fbf0 Clean up wxz (#7025)
Titles
Trailing spaces
Boolean capitalization
2018-10-23 11:08:53 +02:00

50 lines
1.2 KiB
Markdown

---
layout: page
title: "Weblink"
description: "Instructions on how to setup Links within Home Assistant."
date: 2016-02-02 20:00
sidebar: true
comments: false
sharing: true
footer: true
logo: home-assistant.png
ha_category: Front end
ha_release: 0.13
ha_qa_scale: internal
---
The `weblink` component allows you to display links in the Home Assistant frontend.
## {% linkable_title Configuration %}
To use this component in your installation, add something like the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
weblink:
entities:
- name: Router
url: http://192.168.1.1/
- name: Home Assistant
url: https://www.home-assistant.io
- name: Grafana
url: /grafana
```
{% configuration %}
name:
description: Text for the link.
required: true
type: string
url:
description: The URL (absolute URL or absolute path) for the link.
required: true
type: string
icon:
description: Icon for entry.
required: false
type: icon
{% endconfiguration %}
Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`.