mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-25 04:02:14 +01:00
update docs
This commit is contained in:
30
README.md
30
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.
|
Only the icons listed in the [Icon Table](HMI#icons-ids) are useable.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
'entities': [{
|
entities:
|
||||||
'entity': 'switch.test_item',
|
- entity: light.test_item
|
||||||
'name': 'Test Item'
|
name: NameOverride
|
||||||
'icon': 'lightbulb'
|
icon: lightbulb
|
||||||
}, {
|
```
|
||||||
'entity': 'switch.test_item'
|
|
||||||
}],
|
#### 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
|
## How to update
|
||||||
|
|||||||
Reference in New Issue
Block a user