timer-bar-card icon indicating copy to clipboard operation
timer-bar-card copied to clipboard

Mushroom: Bug for bar_radius and the color of the background

Open maxyvon opened this issue 10 months ago • 1 comments

Describe the bug The bar_radius and the color of the background of the timer doesn't work properlly while in mushroom with layout not speficifed.

Your card configuration

type: custom:timer-bar-card
entity: timer.humidificateur_timer
invert: true
text_width: 4em
mushroom: 

For info i've added text_width because the text was hitting the timer when the timer shows hh:mm:ss.

After saving the card's config "null" is added like this:

type: custom:timer-bar-card
entity: timer.humidificateur_timer
invert: true
text_width: 4em
mushroom: null

Image

If I add anything caracter after mushroom it's working:

type: custom:timer-bar-card
entity: timer.humidificateur_timer
invert: true
text_width: 4em
mushroom: c

Image

Debug information

State: active (state mode = active)
Mode: active (explicit; guess mode produces N/A)
Duration: 4500 second
Time remaining: 3346.6130000000003
Counter: 3346.614
Attr: {"duration":"1:15:00","editable":true,"finishes_at":"2025-02-19T18:15:21+00:00","remaining":"1:15:00","restore":true,"icon":"mdi:timer","friendly_name":"Humidificateur Timer "}

maxyvon avatar Feb 19 '25 17:02 maxyvon

Also when using a switch entity the state in not capitalize like in tile or mushroom card: Image

maxyvon avatar Mar 05 '25 16:03 maxyvon