timer-bar-card
timer-bar-card copied to clipboard
Mushroom: Bug for bar_radius and the color of the background
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
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
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 "}
Also when using a switch entity the state in not capitalize like in tile or mushroom card: