nervetattoo / banner-card

A fluffy banner card for Home Assistant 🥰
MIT License
609 stars 57 forks source link

show icon for entity instead of the name #128

Open ChristophCaina opened 3 years ago

ChristophCaina commented 3 years ago

Hi, I would like to show an Icon instead of the name for an entity. Unfortunately, it seems that this isn't working.

As soon as I configure the Icon for the entity, the state is gone.

grafik

type: custom:banner-card
background: '#fff2cc'
row_size: 4
heading: Terrarium 1
entities:
  - entity: sensor.t1_animal_name
    name: null
  - entity: sensor.t1_animal_fam
    name: null
  - entity: binary_sensor.t1_daylight
    name: Tageslicht
  - entity: binary_sensor.t1_heating
    name: Wärme
  - entity: sensor.t1_temperature
    name: null
  - entity: sensor.t1_humidity
    name: null
  - entity: sensor.t1_daylight_sunrise
    icon: mdi:weather-sunset-up
    name: 
  - entity: sensor.t1_daylight_sunset
    name: Sonnenuntergang
    icon: mdi:weather-sunset-down