Frontend: Dashboard yaml file in a folder not found

Created on 20 Mar 2020  Â·  6Comments  Â·  Source: home-assistant/frontend

Checklist

  • [X] I have updated to the latest available Home Assistant version. 0.107.2
  • [X] I have cleared the cache of my browser.
  • [ ] I have tried a different browser to see if it is related to my browser.

The problem

Cannot put dashboard yaml file in a folder.

Since the dashboard-01.yaml existed within the ui-lovelace_dashboards directory I expected both of the above configurations to display the proper dashboard. Also, since the configuration.yaml specified mode: yaml and the dashboard block specified mode: yaml, I would have expected an error message, not a GUI generated display.

Steps to reproduce

in a dashboard block specify a filename within a directory such as in my example above.

Environment

0.107.2
Path to configuration.yaml: /config

  • Home Assistant release with the issue: 0.107.2
  • Last working Home Assistant release (if known): never worked, new feature
  • Browser and browser version: Chrome Version 80.0.3987.132 (Official Build) (64-bit)
  • Operating system: MacOS 10.14.6

Problem-relevant configuration

See failing and working dashboard configurations above.

lovelace-generated:
  mode: yaml
  filename: dashboard-01.yaml
  title: Dashboard-01
  icon: mdi:tools
  show_in_sidebar: true
  require_admin: false
**The following results in display of a dashboard generated because the .yaml file is not found in the directory:**
lovelace-generated:
  mode: yaml
  filename: ui-lovelace_dashboards/dashboard-01.yaml
  title: Dashboard-01
  icon: mdi:tools
  show_in_sidebar: true
  require_admin: false

Javascript errors shown in your browser console/inspector


Additional information

bug

All 6 comments

I spent 35 minutes detailing this problem, filled in all the areas, submitted it, and ended with most fields blank. If I edit my report, the data is there, but does not show above

Please update the template with the information that pertains to your problem. Otherwise, this will be closed

If I edit the posting, all the data is there.  I don’t know why it does not show, and have tried to fix it.  It is a valid, reproducible problem.  I can email you anything you want.

If you prefer to close and ignore it, that is fine with me.

Regards,

Jeff Alperin

H: 561-666-7789
C: 561-797-9876
On Mar 20, 2020, 4:59 PM -0400, Zack Arnett notifications@github.com, wrote:

Please update the template with the information that pertains to your problem. Otherwise, this will be closed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I updated your post. Next time don't place the comments you make in between <-- --> These are comment tags that will not display to the saved post

But I don't this is a bug. I believe it was designed to not support this... I am going to close this issue but if you would like to see this happen. Please create a Feature Request

Thanks with your help on my submission.

The rest of HA configuration (including ui-lovelace.yaml views) can be split up into folders.  Why would this be designed to not do so?

Thanks, but not requesting a future.

Regards,

Jeff Alperin

H: 561-666-7789
C: 561-797-9876
On Mar 20, 2020, 5:25 PM -0400, Zack Arnett notifications@github.com, wrote:

Closed #5296.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Was this page helpful?
0 / 5 - 0 ratings