Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3.4.beta1] - Attributes Names with spaces are crashing the bubble card #1082

Open
FROlCi opened this issue Dec 23, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@FROlCi
Copy link

FROlCi commented Dec 23, 2024

Describe the bug
When trying to use an attribute from a sensor that contains spaces in its name, the card displays an error: "Unexpected identifier ..."

To Reproduce
Steps to reproduce the behavior:
If you have Onedrive installed create this card:

type: custom:bubble-card
card_type: button
button_type: state
entity: sensor.onedrivebackup
name: Backup
show_last_changed: false
show_attribute: true
attribute: Last OneDrive backup date
show_state: true
show_name: true
show_icon: true
card_layout: large-2-rows
scrolling_effect: false

Expected behavior
Display the last OneDrive backup date as a state infomation in the card

Screenshots
image

image

Informations (please complete the following information):

  • OS: [Win11]
  • Browser/App: chrome
  • Bubble Card version: [e.g. 2.3.4.beta1]
  • Home Assistant version: 2024.12.5
@FROlCi FROlCi added the bug Something isn't working label Dec 23, 2024
@FROlCi FROlCi changed the title [2.3.4.beta1] - Attributes with spaces are not crashing the bubble card [2.3.4.beta1] - Attributes with spaces are crashing the bubble card Dec 23, 2024
@FROlCi FROlCi changed the title [2.3.4.beta1] - Attributes with spaces are crashing the bubble card [2.3.4.beta1] - Attributes Names with spaces are crashing the bubble card Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant