idaho / hassio-trash-card

TrashCard - indicates what type of trash will be picked up next based on your calendar entries 🗑️
Apache License 2.0
117 stars 15 forks source link

[Bug]: Card Style does not show labels #322

Closed csigritz closed 2 weeks ago

csigritz commented 3 months ago

Requirements

Current Behavior

Currently when using card_style: card there are no labels shown. When using card_style: chip everything looks fine.

CleanShot 2024-05-31 at 17 37 16@2x CleanShot 2024-05-31 at 17 38 41@2x

Also when inspecting the card via dev tools, there is no label or text. within the element.

Expected Behavior

Labels should also appear when using the card_style: card

Steps To Reproduce

  1. Install Addon
  2. Configure addon with type card
  3. Labels do not appear

Context

YAML state

event_grouping: true
drop_todayevents_from: '10:00:00'
next_days: 30
pattern:
  - icon: mdi:flower
    color: lime
    type: organic
    pattern: Biotonne
    label: Biotonne
  - icon: mdi:newspaper
    color: blue
    type: paper
    pattern: Papiertonne
    label: Papier
  - icon: mdi:recycle-variant
    color: amber
    type: recycle
    pattern: Gelber Sack
    label: Gelber Sack
  - icon: mdi:trash-can-outline
    color: grey
    type: waste
    pattern: Restmüll
    label: Restmüll
  - icon: mdi:dump-truck
    color: purple
    type: others
  - label: Sperrmüll
    icon: mdi:dump-truck
    color: cyan
    type: custom
    pattern: Sperrmüll
day_style: counter
card_style: card
alignment_style: space
color_mode: icon
items_per_row: 3
refresh_rate: 60
with_label: true
type: custom:trash-card
entities:
  - calendar.trash_cal
filter_events: true
use_summary: false
hide_time_range: true
full_size: true

Environment

- Browser: Chrome, Safari, Arc
- HA Version: 2024.5.5
- HACS: 1.34.0
- TrashCard: 2.2.1
- Theme: Default

Debug data

No response

Anything else?

No response

kgd192 commented 1 month ago

Same issue here FIX: Didn't have mushroom installed - user error

csigritz commented 2 weeks ago

OMG. That fixed it. I will close the issue. Sorry.

FIX: Didn't have mushroom installed - user error