diff --git a/source/_components/panel_custom.markdown b/source/_components/panel_custom.markdown index 0199458e5ba..49ec76dc699 100644 --- a/source/_components/panel_custom.markdown +++ b/source/_components/panel_custom.markdown @@ -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 diff --git a/source/_components/panel_iframe.markdown b/source/_components/panel_iframe.markdown index 9f79b38edb3..6b3e58faee8 100644 --- a/source/_components/panel_iframe.markdown +++ b/source/_components/panel_iframe.markdown @@ -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 %}

Do **not** create one that are named `lovelace` it will overwrite lovelace causing it to never load.