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

Editing a badge in "view configuration" YAML view causes all badges to be lost #20060

Closed
3 of 4 tasks
jackwilsdon opened this issue Mar 11, 2024 · 1 comment
Closed
3 of 4 tasks

Comments

@jackwilsdon
Copy link
Contributor

jackwilsdon commented Mar 11, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

All badges are lost when making changes in the "view configuration" YAML view.

Describe the behavior you expected

The changes made in YAML view should persist.

Steps to reproduce the issue

  1. Open configuration for a view and switch to the "Badges" tab
  2. Add a badge by selecting it from the "Entity" dropdown
  3. Click three dots in top right and then "Edit in YAML"
  4. Make any change to the badge list (e.g. adding a new badge, adding a name property to the entry you just added)
  5. All badges are lost on pressing "Save"

Note: switching back to the visual editor before saving shows that all badges have been lost. This also does not happen when making changes via the "Raw configuration editor" for a dashboard.

What version of Home Assistant Core has the issue?

2024.3.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Firefox 123.0b9

Which operating system are you using to run this browser?

NixOS 24.05

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

@jackwilsdon jackwilsdon changed the title Editing a badge in YAML view causes all badges to be lost Editing a badge in "view configuration" YAML view causes all badges to be lost Mar 11, 2024
@jackwilsdon
Copy link
Contributor Author

Looks like this is a duplicate of #20009, fixed in #20012.

@jackwilsdon jackwilsdon closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant