Open ildar170975 opened 1 year ago
Same for formatting these attributes inside "entities":
- type: custom:multiple-entity-row
entity: sun.sun
secondary_info: format default
entities:
- attribute: last-changed
name: last-changed
- attribute: last-updated
name: last-updated
show_state: false
- type: custom:multiple-entity-row
entity: sun.sun
secondary_info: format datetime
entities:
- attribute: last-changed
name: last-changed
format: datetime
- attribute: last-updated
name: last-updated
format: datetime
show_state: false
- type: custom:multiple-entity-row
entity: sun.sun
secondary_info: format total
entities:
- attribute: last-changed
name: last-changed
format: total
- attribute: last-updated
name: last-updated
format: total
show_state: false
- type: custom:multiple-entity-row
entity: sun.sun
secondary_info: format datetime
entities:
- attribute: last_changed
name: last_changed
format: datetime
- attribute: last_updated
name: last_updated
format: datetime
show_state: false
- type: custom:multiple-entity-row
entity: sun.sun
secondary_info: format total
entities:
- attribute: last_changed
name: last_changed
format: total
- attribute: last_updated
name: last_updated
format: total
show_state: false
Assume we need to show a
last-changed
(orlast-updated
) inside a secondary_info with some formatter likedatetime
.Consider this card:
What we can see here:
last-changed
- thenformat
is ignored.last_changed
- thenformat
is applied.According to Docs, the
last-changed
name must be used.