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

Misleading console message when user is not included #31

Closed
markusressel opened this issue Jun 14, 2020 · 1 comment
Closed

Misleading console message when user is not included #31

markusressel opened this issue Jun 14, 2020 · 1 comment

Comments

@markusressel
Copy link

markusressel commented Jun 14, 2020

Describe the bug
When limiting the animated dashboard to a specific user (or a list), opening the Home Assistant GUI and the user is not in the list, the log just states:

No configuration found for this dashboard

which is quite misleading.
Turning on the debug mode I actually got this message:

Animated Background DEBUG: Current user: Markus Ressel is not included

Your Animated Background configuration

I used the default config, with a limit to a user that was is not present in my Home Assistant instance (typo).

Version Numbers

  • Home Assistant: 0.111.2
  • Animated Background: v0.6.1

Browser console log
see above

To Reproduce
see above

Expected behavior
Print the "user" message instead of the "dashboard" one.

Device (please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox
  • Version latest...

Screenshots
n/a

@markusressel markusressel changed the title Misleading error message when user is not included Misleading console message when user is not included Jun 14, 2020
@Villhellm
Copy link
Owner

If an exclusion is found then no configuration is passed on to the rendering step, which is why the message says "no configuration found.". Debug mode exists to give you more detail on how the configuration is being handled and should be used when setting up a more advanced config.

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