Has been happening for quite some time now, I think it started when I went to 112.
Every time I either refresh or view a lovelace page, i get the following error:
Any idea what is causing this? Everything I have is currently up to date in both HACS and HA. Iâve googled and searched the forums but canât find much that describes this error or what would cause it.
Iâm also seeing this error if I refresh the page; 2020-08-10 14:22:34 ERROR (MainThread) [frontend.js.latest.202008071] http://192.168.1.251:8123/lovelace/Server-view:0:0 Uncaught the URL changes to reflect the page being refreshed.
Wow, that gives some more info. Hereâs what Iâm seeing. So looks like either Simple Thermostat or my Vacuum card causing it I guess?
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "simple-thermostat" has already been used with this registry
at https://***.ui.nabu.casa/hacsfiles/simple-thermostat/simple-thermostat.js:1:45393
at https://***.ui.nabu.casa/hacsfiles/simple-thermostat/simple-thermostat.js:1:165
at https://***.ui.nabu.casa/hacsfiles/simple-thermostat/simple-thermostat.js:1:169
/local/xiaomi-vacuum-card.js?v=3.0.1:1 Failed to load resource: the server responded with a status of 404 (Not Found)
chunk.8b29f0c82629b54e915d.js:1
Uncaught (in promise) https://***.ui.nabu.casa/local/xiaomi-vacuum-card.js?v=3.0.1
Youâre trying to load Simple Thermostat a second time. Make sure that it isnât added twice in your resources.
You donât have Vacuum Card in /config/www/xiaomi-vacuum-card.js. If you installed it using HACS, then it should work fine without you manually adding it.
âyour resourcesâ ?! What might that be?
I couldnât find a file named resources.yaml and I couldnât find a section named resources in any of the other YAML-files. So what exactly are you referring to when you say âmy resourcesâ ?
I had similar duplicates and deleted the longer ones. Why? Dunno, I just guessed and hoped it would work, which it did Copy/paste whatever entry you are deleting so you can restore it in case something breaks.