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

Card doesn't work well with HA 2022.6.x #98

Closed
bieniu opened this issue Jun 8, 2022 · 9 comments
Closed

Card doesn't work well with HA 2022.6.x #98

bieniu opened this issue Jun 8, 2022 · 9 comments

Comments

@bieniu
Copy link
Contributor

bieniu commented Jun 8, 2022

After update HA to 2022.6.3 the card doesn't work and there is an error in the browser console:

image

I have this problem on Opera (Windows) and on HA Companion App (Android).

@rudders
Copy link
Contributor

rudders commented Jun 8, 2022

And on Companion App iOS

@andriej
Copy link

andriej commented Jun 8, 2022

can confirm, same on Chrome and Companion after update to 2022.6.3

@DavidFW1960
Copy link
Owner

There was an issue recently with browsers but it didn't cause and console errors but the layout of the card was screwed up. I am on 2022.6.4 and My card is displaying perfectly.

Do you all have the latest version of the card and have you tried hard clearing the cache (F12 in chrome for dev tools and right click refresh select clear cache and hard reload) You may also need to refresh (CTRL+R) a few times.

@Makin-Things Simon can you add anything to this?

We did recently add a whole lot of error checking into the card.
We are currently rewriting the card in Typescript. The new card is in beta now and should bring in any options from the YAML. It will also allow full GUI config. Typescript prevents some console errors we were seeing but none prevent the card from loading.
The test repo is here: https://github.com/Makin-Things/makin-things-weather-card which can be added into hacs. Or download manually (don't forget to add the resource) Just change the card type to custom:weather-card and it will load the old lovelace config. Backup the card config first as the new one is making some changes (Or add to a new dashboard) Feedback is welcome.

@DavidFW1960
Copy link
Owner

This is my old card with the new card adjacent to it in 2022.6.4
image

@Makin-Things
Copy link
Collaborator

I occasionally see an error in the actual card on refresh, but it disappears really quickly and shows the card correctly. This seems to only happen on a card I have inside a grid card though. I don't get any errors in the console log. I am also on 2022.6.4 with the latest browser version. Also fine in the companion app for me.

@bieniu
Copy link
Contributor Author

bieniu commented Jun 9, 2022

Strange, but today the card is displayed without errors. I will observe it a bit longer before closing the issue.

@Makin-Things
Copy link
Collaborator

Good to hear that it may have sorted itself out. It would be great if you could test out the upcoming version as well. We are adding more flexibility and a gui config to the card. The comment above provides the links for the beta #98 (comment). We are keen to get feedback from anyone in Europe as you tend to have a lot of locale variations.

@bieniu
Copy link
Contributor Author

bieniu commented Jun 17, 2022

Sorry, I forgot to close the issue. The card works as it should all the time.

@DavidFW1960
Copy link
Owner

No worries I closed it today.

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

5 participants