-
Notifications
You must be signed in to change notification settings - Fork 36
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
Latest Update made the Card go blank and causes the Overview page to go Blank too #67
Comments
Note: Adding it back manually after removing it makes the Dashboard go completely blank and you need to remove it via the "Raw Configuration Editor". This is pretty bad. |
Which integration are you using? |
Didn't get it at first, my bad. HACS, I use the HACS version. |
I've got something from the raw logs that might help:
|
Chiming in that I'm seeing the same thing. I use Home Assistant Sections and the entire section containing the card becomes blank. The rest of my dashboard was unaffected, just the section containing the card. Editing the Section in YAML mode to remove the card fixed the Section, though as with the original issue reporter, trying to re-add the card only causes it to fail to render again. I'm seeing the following console error in the frontend when the card is on the page:
The problem on this line: air-visual-card/dist/air-visual-card.js Line 396 in 202fba6
You're checking to make sure that air-visual-card/dist/air-visual-card.js Line 41 in 202fba6
My weather entity has a different id. So the if statement sees the default value of The best solution, honestly, is probably not to set a default weather entity value, and just leave it blank by default. But since many users probably already have this non-existent entity in their configs due to this default, you'll need to confirm that the entity exists, unless there's a way to do a config migration to remove weather.home if it doesn't exist. IDK how much power HACS gives you to modify existing configs. |
Yes you are right, the weather entity check should return '' if no none is given. |
Could you please test the card from my repo: |
I mean in my case, my weather integration is PirateWeather, which is quite different from (and better in every way) the default weather integration, which if this card requires the default weather integration to be present all of a sudden, would make sense for why it fails. The entity ID for it is "weather.pirateweather", which I hope to use in the stead of the default one. |
@LokeYourC3PH still after the changes on my repo you have the same error? |
I only use HACS and never manually install plugins, so I cannot test your repo. Gotta wait for ytilis to confirm. |
HACS is using repos though. |
It's not an integration but front-end, I don't know how it's in English |
Exactly, dashboard |
Are you using the WAQI integration? You should also have the text (Excellent|Good etc) above the PM2.5 |
I'm using the AirVisual Cloud Integration From my time in Korea, I've come to find out that AirVisual is a lot more accurate than WAQI or other open/public sources. The extension from AirVisual also has those values, and PirateWeather could show wind speed and all that in the card as well, but this card doesn't utilize those extensions/integrations to their fullest degree that it could. |
I'm happy that AirVisual and the PirateWeather works better for you. My concern is that you don't get the text above the pm2.5 because you should have... |
Sure, I'll see if I can find them 👍 |
Having the same problem. |
please read the conversation above @LokeYourC3PH can you update your card from my repo? |
Done, testing now. |
@Chreece This is the outcome of that update: |
please make sure that AirVisual integration has values on it's entities Edit: Fixed... Please update now |
Will the fixes be added to this original repo, or should I keep using your repo for the time being? |
That's up to @dnguyen800, the PR is waiting to be merged |
What the title says. After updating to the latest version about 9-10 hours ago, the card is now completely blank, and the Dashboard/Overview panel where it is located also does not show up until I do a CTRL+F5 to force reload it. Then I can see everything, and the card itself is basically a 1px empty line, and I had to configure the Dashboard/Overview to remove it for everything to work normally again.
The text was updated successfully, but these errors were encountered: