th3jesta / ha-lcars

LCARS theme for Home Assistant
MIT License
290 stars 22 forks source link

Malformed YAML Forces Safe Mode #7

Closed mermelmadness closed 1 year ago

mermelmadness commented 1 year ago

Tried installing this theme and when restarting HA it booted into safe mode with the following error:

Found duplicate anchor 'card-mod-root'; first occurrence in "/config/themes/lcars/lcars.yaml", line 357, column 18 second occurrence in "/config/themes/lcars/lcars.yaml", line 577, column 18

I had to delete the lcars folder in /config/themes/ in order to fully boot HA

th3jesta commented 1 year ago

Thanks for letting me know. Sorry for the inconvenience. I just released the latest updates which do not have the duplicate card-mod-* entries. Please update and let me know if you have further issues.

mermelmadness commented 1 year ago

New error:

Mapping values are not allowed here in "/config/themes/lcars/lcars.yaml", line 28, column 66

th3jesta commented 1 year ago

That's a weird one. There is no column 66 on line 28 in the yaml. I just pushed one more update just in case.

mermelmadness commented 1 year ago

That's a weird one. There is no column 66 on line 28 in the yaml. I just pushed one more update just in case.

image

mermelmadness commented 1 year ago

No change. Same error.

th3jesta commented 1 year ago

What file is that? That's not lcars.yaml.

mermelmadness commented 1 year ago

What file is that? That's not lcars.yaml.

Maybe I'm downloading it wrong from Github. Stand by...

th3jesta commented 1 year ago

You should be able to install it from HACS by adding the repo in HACS.

mermelmadness commented 1 year ago

Ok, I was right-clicking on the YAML and "Save Link As..." instead of downloading the source code. My bad. That seems to have worked, no errors when calling frontend.reload_themes

Thank you.

th3jesta commented 1 year ago

Yay!