mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
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 * 🚑 Fixes build error
This commit is contained in:
parent
cb8726bd42
commit
1e0886f518
@ -124,18 +124,20 @@ type:
|
|||||||
required: true
|
required: true
|
||||||
description: weblink
|
description: weblink
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
required: true
|
|
||||||
description: Link label.
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
required: true
|
|
||||||
description: "Icon to display (e.g., `mdi:home`)"
|
|
||||||
type: string
|
|
||||||
url:
|
url:
|
||||||
required: true
|
required: true
|
||||||
description: "Website URL (or internal URL e.g. `/hassio/dashboard` or `/panel_custom_name`)"
|
description: "Website URL (or internal URL e.g. `/hassio/dashboard` or `/panel_custom_name`)"
|
||||||
type: string
|
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 %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Example %}
|
## {% linkable_title Example %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user