File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ This card produces an `entity-row` and must therefore be configured as an entity
41
41
| type | string | **Required** | `custom:multiple-entity-row` |
42
42
| entity | string | **Required** | Entity ID (`domain.my_entity_id`) |
43
43
| attribute | string | | Show an attribute instead of the state value |
44
- | name | string | `friendly_name` | Override entity friendly name |
45
- | unit | string | `unit_of_measurement` | Override entity unit of measurement |
44
+ | name | string/bool | `friendly_name` | Override entity friendly name |
45
+ | unit | string/bool | `unit_of_measurement` | Override entity unit of measurement |
46
46
| icon | string | `icon` | Override entity icon or image |
47
47
| image | string | | Show an image instead of icon |
48
48
| toggle | bool | `false` | Display a toggle (if supported) instead of state |
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class MultipleEntityRow extends LitElement {
34
34
this . entityIds = getEntityIds ( config ) ;
35
35
this . onRowClick = this . clickHandler ( config . entity , config . tap_action ) ;
36
36
37
- this . config = config ;
37
+ this . config = { ... config , name : config . name === false ? ' ' : config . name } ;
38
38
}
39
39
40
40
shouldUpdate ( changedProps ) {
You can’t perform that action at this time.
0 commit comments