-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error with HA 2022.03 update #6
Comments
Yep. And it doesn't update lovelace anymore. Please fix it... it's very usefull card. |
Temporary fix: |
I have the same issue, tried your fix but it did not work for me. Running 2022.6.6 Not sure how long this error has been there. |
will there be a permanent fix? |
Hi, |
Uninstalled the component until a fix is available and still getting the error, I guess somewhere there is residual code. |
I think Lovelace has a cache. You need to refresh it |
Any ideas how you clear this cache? I used the SSH addon and found the auto-reload-card.js file in config/www/custom_components/lovelace-auto-reload-card/ and I've edited it with the fix above. I have obviously rebooted and of course cleared the browser local cache. I can even go to the url of: http://192.168.100.69:8123/hacsfiles/lovelace-auto-reload-card/auto-reload-card.js And here I can clearly see the fix mentioned above has not been applied to the expected file. |
In the meantime, I was able to copy the file to a location I could reach, change the resource link, and reboot to validate the fix does indeed work. Also in reflection, I think the error only appeared when the tablet user fires off (which doesn't have admin rights). I don't know if that could be related. |
Started getting the following error after updating to the March HA build.
2022-03-03 18:08:05 ERROR (MainThread) [frontend.js.latest.202203010] https://homeassistant.lan:/hacsfiles/lovelace-auto-reload-card/auto-reload-card.js:29:32 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
The text was updated successfully, but these errors were encountered: