From 51ea3b84e7d01689eeca5c22ba01ceb2e34715ca Mon Sep 17 00:00:00 2001 From: Gert Date: Sat, 13 Feb 2016 20:55:42 +0100 Subject: [PATCH] Update weblink.markdown Added undocument icon option in example + configuration variables like most other components have --- source/_components/weblink.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_components/weblink.markdown b/source/_components/weblink.markdown index 5dbcec2d1b41..4d08fc67f6f8 100644 --- a/source/_components/weblink.markdown +++ b/source/_components/weblink.markdown @@ -21,6 +21,14 @@ weblink: entities: - name: Router url: http://192.168.1.1/ + icon: mdi:router-wireless - name: Home Assistant url: https://home-assistant.io ``` +Configuration variables: + +- **name** (*Required*): Text for the link. +- **url** (*Required*): The URL for the link. +- **icon** (*Optional*): Icon for entry. + +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`.