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

Editor removes custom config of first shown entity #19327

Closed
4 tasks done
philrich opened this issue Jan 8, 2024 · 6 comments
Closed
4 tasks done

Editor removes custom config of first shown entity #19327

philrich opened this issue Jan 8, 2024 · 6 comments
Labels

Comments

@philrich
Copy link

philrich commented Jan 8, 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

Since some days I have a problem with the Home Assistant Editor. Whenever I edit a Lovelace card, the editor removes all custom config of the first shown entity. Home Assistant is installed via HAOS on a Raspi 4. This setup was workung flawlessly in the past. I have a second Home Assistant Instance running on a Raspi Zero W which does not show this behaviour. Both Instances are running on the latest Home Assistant Version (2024.1.2). I also tried with Safe Mode but then nearly none of my Dashboards are shown, because I make extensive use of card_mod and layout-card.

This is an example card showing the removed card_mod modifications when calling the editor:
image

This is nearly the same card on my second HA Instance, where everything works as expected:
image

I removed all custom Integrations and Frontend Components I don't need but it didn't fix the Problem. As of now I am using: card-tools, card-mod, auto-entities, layout-card, mushroom, horizon card, kiosk mode, vertical-stack-in-card, apexcharts-card, energy-overview-card, comfortable-environment-card

Describe the behavior you expected

The frontend editor should not remove custom config of cards

Steps to reproduce the issue

Editor removes custom config of first entity on every card it is called on

What version of Home Assistant Core has the issue?

2024.1.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Google Chrome Version 120.0.6099.199 (Official Build) (64-bit) [also tested on iOS Companion App and Firefox 115.6.0esr]

Which operating system are you using to run this browser?

Debian 12

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

@karwosts
Copy link
Contributor

karwosts commented Jan 8, 2024

Is this consistently reproducible, and if so, can you provide clear steps to reproduce it, including exact yaml of the entire stack that shows this?

@ildar170975
Copy link
Contributor

ildar170975 commented Jan 8, 2024

(could be) Not a Frontend issue.
thomasloven/lovelace-card-mod#337

@robinshlee
Copy link

This is my observation. I had added a card_mod style that made that background of the card blue, saved it and it displayed the card with the blue background as expected. However, when I went into the editor, the blue background disappeared and switching to the YAML editor mode showed that the custom codes had vanished. When I aborted the editor (cancel and not save), the card once again displayed the blue background. So I think the mods were saved earlier and was effective, but will be wiped clean if you try to edit them again.

@ildar170975
Copy link
Contributor

This behaviour was described in the link above, even with a video.

@philrich
Copy link
Author

Indeed, it looks like the Issue @ildar170975 linked to. card_mod is the only custom config on cards, I use.

Copy link

github-actions bot commented Apr 9, 2024

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 9, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants