lovelace-multiple-entity-row
lovelace-multiple-entity-row copied to clipboard
secondary_info: not displayed ALWAYS if "hide_unavailable: true"
If last-changed
or last-updated
are selected for secondary_info
, it is not displayed if hide_unavailable: true
set.
The code:
- type: entities
entities:
- type: custom:multiple-entity-row
entity: sun.sun
name: "hide_unavailable: false"
entities: &ref_entities
- entity: sun.sun
- entity: sun.sun
show_state: false
secondary_info:
attribute: last-changed
- type: custom:multiple-entity-row
entity: sun.sun
name: "hide_unavailable: true"
entities: *ref_entities
show_state: false
secondary_info:
attribute: last-changed
hide_unavailable: true