41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
folding-group-entity-row
|
|
========================
|
|
|
|
Display all entities in a group on a lovelace entities card - and fold it away when you don't want to see it.
|
|
|
|
---
|
|
|
|
```yaml
|
|
resources:
|
|
- url: /local/folding-group-entity-row.js
|
|
type: js
|
|
|
|
views:
|
|
- title: My view
|
|
cards:
|
|
- type: entities
|
|
entities:
|
|
- entity: group.my_group
|
|
type: custom:folding-group-entity-row
|
|
```
|
|
|
|

|
|
|
|
### Other options
|
|
|
|
- `config:` Config options to apply to each row in the group - same as for entity card
|
|
- `group_config:` Config options to apply to the group row - same as for entity card
|
|
|
|
Example:
|
|
```yaml
|
|
- entity: group.my_group
|
|
type: custom:folding-group-entity-row
|
|
config:
|
|
secondary_info: entity-id
|
|
group_config:
|
|
secondary_info: last-changed
|
|
type: custom:toggle-lock-entity-row
|
|
```
|
|
|
|

|