I’ve messed up my Lovelace Config - please help

I deleted some lightwave devices from config/.storage/lovelace that were still showing on UI after I had deleted them from configuration.yaml but it seems I have now messed it up and when opening HA i’m greeted with Expecting ',' delimiter: line 48 column 5 (char 1583)

  1. ⁠{
  2. ⁠"data": {
  3. ⁠"config": {
  4. ⁠"title": “Home”,
  5. ⁠"views": [
  6. ⁠{
  7. ⁠"badges": [
  8. ⁠"binary_sensor.remote_ui",
  9. ⁠"person.jake",
  10. ⁠"sensor.yr_symbol",
  11. ⁠"sun.sun"
  12. ⁠],
  13. ⁠"cards": [
  14. ⁠{
  15. ⁠"entity": “media_player.55cx680_series”,
  16. ⁠"type": “media-control”
  17. ⁠},
  18. ⁠{
  19. ⁠"entity": “media_player.entertainment_room”,
  20. ⁠"type": “media-control”
  21. ⁠},
  22. ⁠{
  23. ⁠"entities": [
  24. ⁠"remote.harmony_hub",
  25. ⁠"remote.entertainment_room"
  26. ⁠],
  27. ⁠"title": “Remote”,
  28. ⁠"type": “entities”
  29. ⁠},
  30. ⁠{“path”: “default_view”,
  31. ⁠"title": “Home”
  32. ⁠},
  33. ⁠{
  34. ⁠"badges": [
  35. ⁠"group.all_devices"
  36. ⁠],
  37. ⁠"cards": []
  38. ⁠},
  39. ⁠{
  40. ⁠"badges": [
  41. ⁠"configurator.plex_media_server",
  42. ⁠"media_player.entertainment_room"
  43. ⁠],
  44. ⁠"cards": []
  45. ⁠}
  46. ⁠]
  47. ⁠}
  48. ⁠},
  49. ⁠{“key”: “lovelace”,
  50. ⁠"version": 1
  51. ⁠}

You’ll have to preserve the formatting for anyone here to help you out. Use the code button in the toolbar

That’s why you are not supposed to edit .storage files - you’ve broken the json format. There is a raw editor.

Your best course of action might be to load states again and delete the lovelace file in storage (or rename it) and then let it create a lovelace file again, take control and then see if you can work out what you broke and copy/paste back from the old one. Make sure HA is stopped before you play with the storage files though.

What I learned:

BACKUP all your files BEFORE you tweak.

Thanks for your help guys. I think I’m going to start again, I haven’t really done much anyway and it won’t take me long to get back where I’m at.

Most important thing. I won’t be touching anything without back ups from now on :man_facepalming:

Don’t touch storage files. Use the raw editor.

Hi,

I have the same problem. My HA is running in a docker container. After a hard reset (power off, power on) I get the message

grafik

How can I fix this?

Thank you!

You have to figure out where your error is in your configuration for the ui.

And where do I find that config file ?
Is it configuration.yaml

Thanks!

depends on where you were editing your lovelace

I edit it in web ui

Where can I find this file within in a docker container ? Thank you

found it. Didn’t know that .storage is hidden