This commit is contained in:
joBr99
2023-01-29 19:43:31 +01:00
parent 6c17311500
commit 516a2dc000
9 changed files with 70 additions and 5 deletions

29
docs/card-unlock.md Normal file
View File

@@ -0,0 +1,29 @@
# Unlock Card (v4.0 and higher)
Can be used to navigate to create pin locked navigation to a hidden card.
![card-unlock](img/card-unlock.png)
```yaml
cards:
- type: cardUnlock
pin: 1234
title: Admin Page
destination: navigate.adminpage
hiddenCards:
- type: cardGrid
title: Admin Page
key: adminpage
entities:
- entity: light.schreibtischlampe
```
List of supported config keys of this card:
key | optional | type | default | description
-- | -- | -- | -- | --
`type` | False | string | `None` | Type of the card
`title` | True | string | `None` | Title of the Page
`destination` | False | string | `None` | contains the navigation entity this card should navigate to on unlock
`pin` | False | string | 3830 | pin to unlock
`key` | True | string | `None` | Used by navigate items