Bubble-Card icon indicating copy to clipboard operation
Bubble-Card copied to clipboard

Disabling "Text scrolling effect" then ignores "Show name"

Open jstrot opened this issue 8 months ago • 3 comments

Describe the bug

I have a small button in a 1/4 width column where I show state entities of my climate system. When the state value is too large ("Home") the "Text scrolling effect" kicks in. If I disable "Text scrolling effect" then the button doesn't only show the state but also the entity name ("Lennox iComfort S30") even though I disabled "Show name".

To Reproduce

Steps to reproduce the behavior:

Create an horizontal stack with 4 buttons such as this one:

type: custom:bubble-card
card_type: button
entity: binary_sensor.system_home_state
show_name: false
show_state: true
button_type: state
scrolling_effect: true

The state (second button in my example) starts scrolling. (See screenshot 1)

Now change to scrolling_effect: false. The state stops scrolling but the name is added even though there is show_name: false. (See screenshot 2)

Expected behavior

The entity state should be fixed, on multiple lies and/or with the overflow hidden or ellipsized. The entity name must not be displayed.

Screenshots

Screenshot 1: Scrolling state image

Screenshot 2: Entity name wrongly displayed image

Informations (please complete the following information):

  • OS: Linux, Android
  • Browser: Chrome
  • Bubble Card version: v2.0.4
  • Home Assistant version 2024.6.4

Additional context

None.

Thank you! 🍻

jstrot avatar Jun 23 '24 21:06 jstrot