lovelace-badge-card icon indicating copy to clipboard operation
lovelace-badge-card copied to clipboard

Unable to apply icon to badge

Open dubilyer opened this issue 3 years ago • 1 comments

Config:

 - type: custom:badge-card
        badges:
          - entity: media_player.s70pci
            icon: mdi:home
          - media_player.mibox4
          - switch.ebea7433149c9126c7vqfx
          - light.yeelight_ct_bulb_0x0000000007f29d50
          - switch.washer
        view_layout:
          grid-column-start: 1
          grid-column-end: 5

output html node:

<div class="badge-container">
    <div class="label-badge" id="badge">
        <div class="value big">
            <slot>
                <!--?lit$535976875$-->
                <!--?lit$535976875$--> <span><!--?lit$535976875$-->Выключен</span>
            </slot>
        </div>
        <!--?lit$535976875$-->
    </div>
    <!--?lit$535976875$-->
    <div class="title"><!--?lit$535976875$-->ТВ Салон</div>
</div>

Reflected in Lovelace UI:

by40t7bqh73k5hdux5tresczfbxwane0 ui nabu casa_lovelace_rooms

dubilyer avatar Jul 04 '21 10:07 dubilyer

I do not confirm this:

  - type: custom:badge-card
    badges:
      - entity: media_player.kodi_rpi_1
        icon: mdi:home
        name: xxxx

изображение

ildar170975 avatar Dec 22 '21 15:12 ildar170975