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

doesn't work (vlines: hlines: names :) #22

Open
Silent4831 opened this issue Aug 25, 2020 · 2 comments
Open

doesn't work (vlines: hlines: names :) #22

Silent4831 opened this issue Aug 25, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Silent4831
Copy link

Silent4831 commented Aug 25, 2020

Hello! Can someone tell me, it doesn't work (vlines: hlines: names :) when using these attributes, the card simply doesn't appear on the page, there are no errors, it just disappears. In the example below, only hlines: is specified, but this also doesn't work with others.
2020-08-25_18-14-57

@ranrinc
Copy link

ranrinc commented Sep 29, 2020

+1 need more information on making this system running

@yordanov-alexandar
Copy link

I had this problem for some time - whenever I try to put a state in the layout section the card disappears without an error in the home assistant gui, but there are a lot of errors in the browser console. And that led me to a fix that works for me: in the file www/community/flex-horseshoe-card/flex-horseshoe-card.js on line 799:

this.config.animations[animation].map(item => {

just add

if (this.config.animations[animation]) 

in front of it.
You will need to make a gz file from flex-horseshoe-card.js and replace flex-horseshoe-card.js.gz in the same directory because that is the file that home assistant uses.

@AmoebeLabs AmoebeLabs added the bug Something isn't working label May 3, 2023
@AmoebeLabs AmoebeLabs added this to the Things to Check milestone May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants