From 09a692a1b1175f8511dc390262f4b4a5f6334330 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sat, 2 Apr 2022 17:40:10 +0200 Subject: [PATCH] update docs --- README.md | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 58911783..4ebdab2a 100644 --- a/README.md +++ b/README.md @@ -358,13 +358,29 @@ To override Icons or Names of entities you can configure an icon and/or name in Only the icons listed in the [Icon Table](HMI#icons-ids) are useable. ```yaml - 'entities': [{ - 'entity': 'switch.test_item', - 'name': 'Test Item' - 'icon': 'lightbulb' - }, { - 'entity': 'switch.test_item' - }], + entities: + - entity: light.test_item + name: NameOverride + icon: lightbulb +``` + +#### Subpages + +You can configure entities with with the prefix `navigate`, that are navigating to cards, in case it's hidden page, the navigation items will change and the arrow is bringing you back to the current page on the top level. + +```yaml + - entity: navigate.cardGrid_testKey +``` + +will allow you to navigate to a cardGrid page with the configured key testKey + +```yaml + hiddenCards: + - type: cardGrid + title: Exmaple Grid + entities: + - entity: light.test_item + key: testKey ``` ## How to update