Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
MHA committed Jun 28, 2020
1 parent a20c402 commit 6c026cf
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 7 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Select list Card by [@mattieha](https://github.com/mattieha)

[![GitHub Release][releases-shield]][releases]
[![License][license-shield]](LICENSE.md)
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)

Display an input_select entity as a list
Expand All @@ -12,13 +10,13 @@ Display an input_select entity as a list

Select List Card supports Lovelace's Visual Editor. Click the + button to add a card and search for select list.

![Visual Editor](assets/visual_editor.png)
![Visual Editor](https://raw.githubusercontent.com/mattieha/select-list-card/master/assets/visual_editor.png)

## Examples

### Default config

![card](assets/card.png)
![card](https://raw.githubusercontent.com/mattieha/select-list-card/master/assets/card.png)

```yaml
type: 'custom:select-list-card'
Expand All @@ -30,8 +28,8 @@ entity: input_select.scenes
| Name | Type | Requirement | Description | Default |
| ----------------- | ------- | ------------ | ------------------------------------------- | ------------------- |
| type | string | **Required** | `custom:select-list-card` |
| entity | string | **Required** | Home Assistant input_select ID. | `none` |
| name | string | **Optional** | Card name | `` |
| entity | string | **Optional** | Home Assistant input_select ID. | `none` |
| truncate | boolean | **Optional** | Truncate option text | `true` |
| scrollInToView | boolean | **Optional** | Scroll active item in to view | `true` |
| maxHeight | string | **Optional** | Max height of the list | `350` |
Expand Down
Loading

0 comments on commit 6c026cf

Please sign in to comment.