Add display count. Fix #41
This commit is contained in:
@@ -156,12 +156,15 @@ sort:
|
||||
reverse: <reverse>
|
||||
ignore_case: <ignore_case>
|
||||
attribute: <attribute>
|
||||
first: <first>
|
||||
count: <count>
|
||||
```
|
||||
|
||||
- `method:` **Required** One of `domain`, `entity_id`, `name`, `state` or `attribute`
|
||||
- `reverse:` Set to `true` to reverse the order. Default: `false`.
|
||||
- `ignore_case:` Set to `true` to make the sort case-insensitive. Default: `false`.
|
||||
- `attribute:` Attribute to sort by if `method: attribute`. Can be an *object attribute* as above (e.g. `attribute: rgb_color:2`)
|
||||
- `first` and `count` can be used to only display `<count>` entities, starting with the `<first>` (starts with 0).
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user