mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Add additional weblink attributes (#16367)
This commit is contained in:
parent
ed4d219cf9
commit
882970eba8
@ -356,6 +356,16 @@ icon:
|
|||||||
description: "Icon to display (e.g., `mdi:home`)."
|
description: "Icon to display (e.g., `mdi:home`)."
|
||||||
type: string
|
type: string
|
||||||
default: "`mdi:link`"
|
default: "`mdi:link`"
|
||||||
|
new_tab:
|
||||||
|
required: false
|
||||||
|
description: Open link in new tab. If link is external URL or a download link, this will automatically be true. Use if internal URL should be opened in new tab.
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
download:
|
||||||
|
required: false
|
||||||
|
description: Is link a download?
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user