diff --git a/README.md b/README.md index 76d4ab0..66ae1a7 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Make a group from entities in a lovelace entities card - and fold them away when | Name | Type | Default | Description | ---- | ---- | ------- | ----------- | type | string | **Required** | `custom:fold-entity-row` -| head | string/object | **Required** | The entity or row that should be the header +| head | entity/object | **Required** | The entity or row that should be the header | items | list | none | Entites or rows to put in the fold | group_config | object | none | Extra options to put on each item in the list | open | boolean | false | Set to true to have the fold opened by default @@ -43,6 +43,8 @@ entities: ### Groups will populate the fold automatically +If the head is a group, `items:` will be ignored and the fold will instead be filled with the entities in the group. + ```yaml type: entities title: Folding groups @@ -56,4 +58,3 @@ entities: ``` ![folding groups](https://user-images.githubusercontent.com/1299821/47855259-5d283c00-dde4-11e8-8405-94c269e53935.png) -