mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add require_admin options
This commit is contained in:
parent
4588dbf911
commit
ea7edc5e20
@ -63,6 +63,10 @@ config:
|
||||
description: Configuration to be passed into your web component when being instantiated.
|
||||
required: false
|
||||
type: list
|
||||
require_admin:
|
||||
description: If admin access is required to see this panel.
|
||||
required: false
|
||||
type: boolean
|
||||
embed_iframe:
|
||||
description: Set to `true` to embed panel in iframe. This is necessary if the panel is using the React framework or if it contains conflicting web components.
|
||||
required: false
|
||||
|
@ -58,6 +58,10 @@ panel_iframe:
|
||||
description: Icon for entry.
|
||||
required: false
|
||||
type: icon
|
||||
require_admin:
|
||||
description: If admin access is required to see this iframe.
|
||||
required: false
|
||||
type: boolean
|
||||
{% endconfiguration %}
|
||||
|
||||
<p class='note warning'>Do **not** create one that are named `lovelace` it will overwrite lovelace causing it to never load.</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user