Comments (18)
That is not valid YAML. Please post your configs in code blocks with proper formatting. Also if you have the lines
included_users:
- Villhellm
the config shouldn't work unless the home assistant user you are logged in as is Villhellm
.
from lovelace-animated-background.
Leaving in Villhellm would have been a total doofus move :-).
Home Assistant 0.108.6
Frontend version: 20200407.2 - latest
Doesn't work (no backgrounds for any paths):
animated_background:
views:
- path: alarm
config:
default_url: /community_plugin/lovelace-animated-background/background-animations/fog.html
Works (all path backgrounds are sunny):
animated_background:
default_url: /community_plugin/lovelace-animated-background/background-animations/sunny.html
Doesn't Work (all backgrounds are sunny, view path is also sunny - not fog - can be any existing path):
animated_background:
default_url: /community_plugin/lovelace-animated-background/background-animations/sunny.html
views:
- path: alarm
config:
default_url: /community_plugin/lovelace-animated-background/background-animations/fog.html
from lovelace-animated-background.
When I submit, the yaml collapses. All of it is correctly formatted. If there is a trick to entering it here, please let me know.
from lovelace-animated-background.
You need to put code in code blocks. Surround the yaml with ``` on the line above and bellow
Ex:
```
animated_config:
default_url: /test
```
becomes
animated_config:
default_url: /test
from lovelace-animated-background.
0.108.6 is not the latest, by the way. Remember it is important to always give actual version numbers as "latest" changes regularly.
from lovelace-animated-background.
Thank you.
Home Assistant 0.109.2
Frontend version: 20200427.1 - latest
Does not work:
animated_background:
views:
- path: alarm
config:
default_url: /community_plugin/lovelace-animated-background/background-animations/fog.html
Does Work:
animated_background:
default_url: /community_plugin/lovelace-animated-background/background-animations/sunny.html
Does not Work:
animated_background:
default_url: /community_plugin/lovelace-animated-background/background-animations/sunny.html
views:
- path: alarm
config:
default_url: /community_plugin/lovelace-animated-background/background-animations/fog.html
from lovelace-animated-background.
I placed the yaml within ```. I'll find another background solution.
from lovelace-animated-background.
This is not me being pedantic, spaces are critical in yaml. If I can't see an accurate config I can't accurately tell you what's wrong.
Are you seeing any errors in the browser console?
from lovelace-animated-background.
I didn't believe you were.
No, the console log shows that the default animated background is loaded (which it is).
from lovelace-animated-background.
The only other thing I could think to check without more information is make sure that your path is an exact match.
from lovelace-animated-background.
kk. I'll put some debug lines in the js and see where I end up. Thanks.
from lovelace-animated-background.
You can also set breakpoints in Chrome and follow it through each step
from lovelace-animated-background.
When I test your two "Does not work" configs and properly format the yaml it works on my machine. Be sure to update the plugin as well, I fixed a bug recently that may have been affecting one of those configs.
from lovelace-animated-background.
from lovelace-animated-background.
Can you try to post your config one more time? Maybe a screenshot if you can't get the formatting to work?
from lovelace-animated-background.
Hi, I believe I managed to post the correctly formated yaml from the raw config editor for the dashboard in https://community.home-assistant.io/t/lovelace-animated-background-based-on-entity-state/132208/36
Apologize for the delay. Work beckoned.
from lovelace-animated-background.
Your path:
line is not properly indented. It needs to be on the same level as config:
from lovelace-animated-background.
Call me doofus. I'd love to tell you that it still doesn't work but it is fixed :-). Many thanks. In addition I now know how to make custom cards.
from lovelace-animated-background.
Related Issues (20)
- Bug report: Configuration options overriding each other HOT 1
- display_user_agent: true does not do anything HOT 1
- Read animations from folders HOT 2
- Weather: day and night
- rpi 3b+ video stutter
- Bug report HOT 1
- No longer lets tablet display timeout HOT 1
- Clarify HACS install procedures please. HOT 1
- Switching by days of the week + sunrise or sunset HOT 1
- Resolution change?! HOT 4
- [Feature Request] Allow configuring opacity of the background HOT 2
- Simple question- help
- Lil suggestion I use for my theme. Transparent Sidebar HOT 1
- Local stored animated backgrounds?? HOT 2
- Dashboard nest hub
- Add variable video playback speeds
- Play next video in array after current one finishes
- WARNING: 2023.4.0b0 or newer break Animated Background HOT 42
- problem in new versions of HA HOT 9
- snow wallpaper animation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-animated-background.