Skip to content

secondary_info: not displayed ALWAYS if "hide_unavailable: true" #222

Closed
@ildar170975

Description

@ildar170975

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

изображение

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions