diff --git a/source/lovelace/views.markdown b/source/lovelace/views.markdown index 9e6d4e0f253..1d5f4d1107c 100644 --- a/source/lovelace/views.markdown +++ b/source/lovelace/views.markdown @@ -41,7 +41,7 @@ views: required: false description: Renders the view in panel mode, more info below. type: boolean - default: "false" + default: false background: required: false description: Style the background using CSS, more info below. @@ -50,6 +50,11 @@ views: required: false description: Themes view and cards, more info below. type: string + visible: + required: false + description: "Hide/show the view tab from all users or a list of individual `visible` objects." + type: [boolean, list] + default: true {% endconfiguration %} ## Options For Badges @@ -75,6 +80,17 @@ image: type: string {% endconfiguration %} +## Options For Visible + +If you define `visible` as objects instead of a boolean to specify conditions for displaying the view tab: + +{% configuration badges %} +user: + required: true + description: User id that can see the view tab. + type: string +{% endconfiguration %} + ### Example View config: