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

White background (instead of the theme one) when no animated_backround is configured #16

Closed
SeLLeRoNe opened this issue May 2, 2020 · 3 comments

Comments

@SeLLeRoNe
Copy link
Contributor

Your Animated Background configuration

I only have this in ui-lovelace.yaml , not in the additional dashboards (management and test ones)

animated_background:
  default_url: /local/animated_backgrounds/sunny.html
  included_users:
    - Andrea Iannucci
  included_devices:
    - windows
  entity: "weather.dark_sky"
  state_url:
    'sunny': /local/animated_backgrounds/sunny.html
    'partlycloudy': /local/animated_backgrounds/cloudy.html
    'cloudy': /local/animated_backgrounds/cloudy.html
    'mostlycloudy': /local/animated_backgrounds/mostlycloudy.html
    'clear-night': /local/animated_backgrounds/night.html
    'fog': /local/animated_backgrounds/fog.html

Version of Home Assistant
"Latest" is not a version number. Please provide the actual version number.
1.109.2

Describe the bug
A clear and concise description of what the bug is.
All the dashboards are loading a white background instead of the theme background presumably because the animated background is not configured for those dashboards.

Browser console log
Post anything related to animated-background.js
Not apparent/clear related error in the dashboard

To Reproduce
Steps to reproduce the behavior:

  1. Create a new dashboard
  2. Don't configure any animated_background
  3. View the dashboard

Expected behavior
A clear and concise description of what you expected to happen.
Use the default theme background if no configuration is present.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 81.0.4044.129

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

@SeLLeRoNe
Copy link
Contributor Author

It might actually be the same issue of #17

@Villhellm
Copy link
Owner

Trying to add logic for multiple dashboard functionality is what screwed everything up, but I think I've mostly figured out the proper logic now. Give the latest update a shot.

@SeLLeRoNe
Copy link
Contributor Author

Worked perfectly! :)

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