From 1e0886f518e877ff3cb8b56236da6d2d14895a86 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Mon, 29 Oct 2018 06:47:23 -0500 Subject: [PATCH] weblink parameters `name` and `icon` optional (#7199) * weblink parameters `name` and `icon` optional This will coincide with https://github.com/home-assistant/home-assistant-polymer/pull/1898 * :ambulance: Fixes build error --- source/_lovelace/entities.markdown | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index 07badffcbb2..ef9ead7d25f 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -124,18 +124,20 @@ type: required: true description: weblink type: string -name: - required: true - description: Link label. - type: string -icon: - required: true - description: "Icon to display (e.g., `mdi:home`)" - type: string url: required: true description: "Website URL (or internal URL e.g. `/hassio/dashboard` or `/panel_custom_name`)" type: string +name: + required: false + description: Link label + type: string + default: url path +icon: + required: false + description: "Icon to display (e.g., `mdi:home`)" + type: string + default: "`mdi:link`" {% endconfiguration %} ## {% linkable_title Example %}