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

ui_lovelace.yaml vs ui-lovelace.yaml #17

Open
DelroyTaylor opened this issue Jul 3, 2020 · 3 comments
Open

ui_lovelace.yaml vs ui-lovelace.yaml #17

DelroyTaylor opened this issue Jul 3, 2020 · 3 comments

Comments

@DelroyTaylor
Copy link

DelroyTaylor commented Jul 3, 2020

Readme.md Usage instructs thus: "This integration changes the way Home Assistant parses your ui_lovelace.yaml before sending the information off to the lovelace frontend in your browser. It's obviously only useful if you are using YAML mode."
Then "Important: For some reason, which I can't seem to nail down, things stop working if you add # lovelace_gen to ui-lovelace.yaml. Adding it to any file included from ui-lovelace.yaml works, though."
Other Homeassistant documents also use ui_lovelace.yaml and ui-lovelace.yaml
Please clarify which is the correct yaml filename.

@thomasloven
Copy link
Owner

thomasloven commented Jul 5, 2020

Neither. Home Assistant has updated since this was written.

lovelace_gen does not work on whatever file you have set in your configuration.yaml as being the main file for a lovelace panel. It does work on files !included from that file, though.

@DelroyTaylor
Copy link
Author

Thanks Thomas

Do we still need to add this to our configuration.yaml since lovelace_gen work on whatever file we have set in the configuration.yaml? Assume lovelace_gen will find files automatically?

lovelace_gen:

lovelace:
mode: yaml

@thomasloven
Copy link
Owner

lovelace_gen: is still a requirement. The rest is up to your configuration.

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

2 participants