madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
392 stars 74 forks source link

Cant find card in lovelace #126

Closed BorjaIkasle closed 6 months ago

BorjaIkasle commented 8 months ago

I install it though hacs but it doesn´t appear in lovelace options altough I have the resources correctly. I should make something special? When I put - type: 'custom:lg-remote-control' it doesn´t load neither, restart doesn´t work neither

tebeso commented 8 months ago

You will not be able to find it in the overview. Instead, scroll to the bottom and add "Custom Card" or something. In the textfield, add this (dont forget to change entity and mac):

type: 'custom:lg-remote-control' entity: media_player.tv_lg_55c8 mac: xx:xx:xx:xx

BorjaIkasle commented 8 months ago

You will not be able to find it in the overview. Instead, scroll to the bottom and add "Custom Card" or something. In the textfield, add this (dont forget to change entity and mac):

type: 'custom:lg-remote-control' entity: media_player.tv_lg_55c8 mac: xx:xx:xx:xx

I already did that but nothing

kumarvbharath commented 8 months ago

I am getting the same error too. i downloaded from HACS and loaded it, and the resources were added automatically. but when i try to add a manual card, i do see similar error. pasting an image of it.

image

Dashboard resources:

image

HACS downloads:

image
mgartin commented 8 months ago

I've had this installed for some time, but after an update it stopped working, I now have this: image

It might have happened after updating HACS to 1.33.0. HA runs with these versions: Home Assistant 2023.10.5 Supervisor 2023.10.0 Operating System 11.0 Frontend 20231005.0 - latest

MikeDeltaHH commented 8 months ago

Have the same problem and still used the cards to switch my LG TVs over the weekend - I think the problem came with the HA 10.5 core update, but not sure....

Screenshot 2023-10-24 192916

Home Assistant 2023.10.5 Supervisor 2023.10.0 Operating System 10.5 Frontend 20231005.0 - latest

Jamiro75 commented 8 months ago

same issue , HA core in docker 2023.10.5 and hacs

madmicio commented 8 months ago

I'm also on 2023.10.5 and I don't have any problems. however I'm working on a new version that has the graphical configuration.

Turton commented 8 months ago

Same issue. Weirdly it works with Edge, not Chrome and not on Android.

Turton commented 8 months ago

Although the main remote seems to still display and function in Edge, the channel card fails in the same way. image

MikeDeltaHH commented 8 months ago

I'm also on 2023.10.5 and I don't have any problems. however I'm working on a new version that has the graphical configuration.

Great, thanks for info!

Turton commented 8 months ago

@MikeDeltaHH, I managed to resolve this by selecting 'Redownload' from HACS. Beforehand, Edge had also stopped working, after a 'Redownload' and browser refresh it came back to life. I repeated this on Android, (not sure I need to do it twice), but it did the trick. All functioning again across all platforms.

MikeDeltaHH commented 8 months ago

@MikeDeltaHH, I managed to resolve this by selecting 'Redownload' from HACS. Beforehand, Edge had also stopped working, after a 'Redownload' and browser refresh it came back to life. I repeated this on Android, (not sure I need to do it twice), but it did the trick. All functioning again across all platforms.

Thanks a lot - this helps and solved the issue for me too!

LukaszP2 commented 7 months ago

I upgrade to 2.0 and card doesn't exist: image Core: 2023.11.2 Supervisor: 2023.11.3

Clam58 commented 7 months ago

Same issue as @LukaszP2

Home Assistant Core 2023.11.2 Supervisor 2023.11.0 Operating System 11.1 Frontend 20231030.2

Tried redownloading as recommended earlier but made no difference

Clam58 commented 7 months ago

The resource string seems to be missing information. I manually edited it from

hacsfiles/LG-WebOS-Remote-Control/null?hacstag=25700599020

to

hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=25700599020

and the loading error cleared

richsimpson commented 7 months ago

Yes updating resource for me has worked. Wasn't sure what that meant initially so incase there is anyone even less competent, here is what to do!

SETTINGS DASHBOARDS click the top right icon for menu select 'RESOURCES' then locate the entry that says: hacsfiles/LG-WebOS-Remote-Control/null?hacstag=25700599020

and update it to

hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=25700599020

select 'UPDATE' check remote now shows, if not refresh page.

Though I do now have a message in HACS to tell me something isn't loaded correctly. Presume it is this?

image

Clam58 commented 7 months ago

IMG_0107

But the card is working in HA

KameDomotics commented 7 months ago

Yes updating resource for me has worked. Wasn't sure what that meant initially so incase there is anyone even less competent, here is what to do!

SETTINGS DASHBOARDS click the top right icon for menu select 'RESOURCES' then locate the entry that says: hacsfiles/LG-WebOS-Remote-Control/null?hacstag=25700599020

and update it to

hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=25700599020

select 'UPDATE' check remote now shows, if not refresh page.

Though I do now have a message in HACS to tell me something isn't loaded correctly. Presume it is this?

image

I have the same error in Hacs, but now the card working

mattdevo1 commented 7 months ago

I have the same issue. Upgraded to 2.0.1 and this started. Rolled back to 1.1.3 and it's fixed.

Running HA 2023.11.2.

29axe commented 7 months ago

Yes updating resource for me has worked. Wasn't sure what that meant initially so incase there is anyone even less competent, here is what to do!

SETTINGS DASHBOARDS click the top right icon for menu select 'RESOURCES' then locate the entry that says: hacsfiles/LG-WebOS-Remote-Control/null?hacstag=25700599020

and update it to

hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js?hacstag=25700599020

select 'UPDATE' check remote now shows, if not refresh page.

Though I do now have a message in HACS to tell me something isn't loaded correctly. Presume it is this?

image

Thanks for the solution.

You can also add a new resource instead of editing the existing one and keep both active. This removes the error message in HACS. ;-)