entity-attributes-card icon indicating copy to clipboard operation
entity-attributes-card copied to clipboard

0.106 breaks it

Open IanAdd opened this issue 4 years ago • 3 comments

Further to previous warning by thomasloven. It now appears broken in 0.106.2

              - entities:
                  - entity: media_player.lounge
                  - filter:
                      include:
                        - media_player.lounge.media_album_name
                        - media_player.lounge.media_title
                        - media_player.lounge.media_artist
                        - media_player.lounge.source
                        - media_player.lounge.sonos_group
                    type: 'custom:entity-attributes-card'
                show_header_toggle: false
                title: Lounge
                type: entities

gives....

HA_e_a_card

IanAdd avatar Mar 01 '20 06:03 IanAdd

This is the issue as predicted by thomasloven (issue #12 )

kaosmagix avatar Mar 01 '20 11:03 kaosmagix

Will this issue be fixed? Is the developer still active? Is there an alternative?

kaosmagix avatar Mar 24 '20 19:03 kaosmagix

Will this issue be fixed? Is the developer still active? Is there an alternative?

The multiple-entity-row enabled me to achieve the same(similar) effect. To get this to be as compact as the entity-attributes-card I had to also use card-mod. This makes for a very verbose definition but works fine. I'll add a card for a media player that is where I use it so you can see what I achieved. Hope it helps.

entities:
  - entities:
      - attribute: media_album_name
        name: false
    entity: media_player.attic
    icon: nothing
    name: Album
    show_state: false
    style: |
      state-badge {
        height: 17px;
      }
    type: 'custom:multiple-entity-row'
  - entities:
      - attribute: media_title
        name: false
    entity: media_player.attic
    icon: nothing
    name: Title
    show_state: false
    style: |
      state-badge {
        height: 17px;
      }
    type: 'custom:multiple-entity-row'
  - entities:
      - attribute: media_artist
        name: false
    entity: media_player.attic
    icon: nothing
    name: Artist
    show_state: false
    style: |
      state-badge {
        height: 17px;
      }
    type: 'custom:multiple-entity-row'
  - entities:
      - attribute: sonos_group
        name: false
    entity: media_player.attic
    icon: nothing
    name: Sonos Group
    show_state: false
    style: |
      state-badge {
        height: 17px;
      }
    type: 'custom:multiple-entity-row'
show_header_toggle: false
show_state: false
type: entities


IanAdd avatar Mar 24 '20 22:03 IanAdd