Closed MEKadan closed 6 months ago
Hmm.. There was an older thread started 3 weeks ago describing the same problem: https://github.com/madmicio/LG-WebOS-Remote-Control/issues/126
Because the error occurred only after yesterday I thought it would be different case, however, the fix mentioned there,, editing the resource string worked.
The resource string should be:
/hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=25700599020
EDIT: After the fix the controller image shows as before and everything works,, however, HACS is still announcing error:
And it is pinpointed to be this module:
Tried also the resource string without ?hacstag=25700599020
in the end, no change
Probably a bug of some sort, but does not seem to affect to operation, at least at the time being
This has been working OK until yesterday, now I get this:
Where should I start looking for problam?
It's exactly the same for me.
It worked: https://github.com/madmicio/LG-WebOS-Remote-Control/issues/126#issuecomment-1811030188
Same issue on my side. Card is working. However error is present in HACS
If you update to version 2.0.1 the resource resets to null, so you need to manual re-edit to fix. Hopefully @madmicio can fix this in due course.
If you update to version 2.0.1 the resource resets to null, so you need to manual re-edit to fix. Hopefully @madmicio can fix this in due course.
The point is, that it still shows the error even after manually updating the resource string. The module works, though.
having the same error will try the resource fix
Custom element doesn't exist: lg-remote-control.
type: custom:lg-remote-control
entity: media_player.lg_tv_webos
If you update to version 2.0.1 the resource resets to null, so you need to manual re-edit to fix. Hopefully @madmicio can fix this in due course.
The point is, that it still shows the error even after manually updating the resource string. The module works, though.
I guess because HACS for some reason thinks the path should be /hacsfiles/LG-WebOS-Remote-Control/**null**?hacstag=257005990201
instead of /hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=257005990201
so it shows the error.
I think after the manual edit, the HACS error message safely can be ignored while the issue is not fixed.
Same problem , same fix (thanks) , same result
I had to change resource path to lg remote inside http://homeassistant.local:<port>/config/lovelace/resources
to the one provided here https://github.com/madmicio/LG-WebOS-Remote-Control#hacs-card-install
+1 ! Same problem, same "fix" (workaround), same result.
Looks like HACS is not finding the js file properly (hence the "null")? Maybe something related to a HACS update on their syntax for modules?
May this commit be the culprit? 🤔 @cstosgale Not entirely sure what it was trying to fix (HACS install always worked for me), but removing the "content in root" makes HACS blind to "where" he can find the provided filename, hence the null. If content in root is false, it assumes its in a subdirectory, but this integration has no subdirectory for the js.
I was attempting to fix exactly this issue by removing that line, as I thought it worked the opposite way round. I've been having this issue since before that commit, but it doesn't seem to have made any difference
Oh I see @cstosgale. Apologies. Actually although it should not (and does not) make any difference according to the docs, your attempt was quite good since I've been checking many other integrations I use such as Transmission-card, Alarmo-card, or mini-graph-card and none of them specify "content_in_root", so that line could have been causing some undocumented bug. Sadly seems not the case.
I've been trying to review commits before that to see if anything could have affected the HACS install but I haven't been able to find anything else (don't know this integration's code that well).
Let's pray you guys can find it eventually 🙏
downgrading to 1.1.3 seems easier and that fixed it for now to me. (tried 2.0, no luck there aswell)
This has been working OK until yesterday, now I get this:
Where should I start looking for problam?