1
1
# Select list Card by [ @mattieha ] ( https://github.com/mattieha )
2
2
3
- [ ![ GitHub Release] [ releases-shield ]] [ releases ]
4
- [ ![ License] [ license-shield ]] ( LICENSE.md )
5
3
[ ![ hacs_badge] ( https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge )] ( https://github.com/custom-components/hacs )
6
4
7
5
Display an input_select entity as a list
@@ -12,13 +10,13 @@ Display an input_select entity as a list
12
10
13
11
Select List Card supports Lovelace's Visual Editor. Click the + button to add a card and search for select list.
14
12
15
- ![ Visual Editor] ( assets/visual_editor.png )
13
+ ![ Visual Editor] ( https://raw.githubusercontent.com/mattieha/select-list-card/master/ assets/visual_editor.png)
16
14
17
15
## Examples
18
16
19
17
### Default config
20
18
21
- ![ card] ( assets/card.png )
19
+ ![ card] ( https://raw.githubusercontent.com/mattieha/select-list-card/master/ assets/card.png)
22
20
23
21
``` yaml
24
22
type : ' custom:select-list-card'
@@ -30,8 +28,8 @@ entity: input_select.scenes
30
28
| Name | Type | Requirement | Description | Default |
31
29
| ----------------- | ------- | ------------ | ------------------------------------------- | ------------------- |
32
30
| type | string | **Required** | ` custom:select-list-card` |
31
+ | entity | string | **Required** | Home Assistant input_select ID. | `none` |
33
32
| name | string | **Optional** | Card name | `` |
34
- | entity | string | **Optional** | Home Assistant input_select ID. | `none` |
35
33
| truncate | boolean | **Optional** | Truncate option text | `true` |
36
34
| scrollInToView | boolean | **Optional** | Scroll active item in to view | `true` |
37
35
| maxHeight | string | **Optional** | Max height of the list | `350` |
0 commit comments