-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
LG Soundbar is triggered by media player #41121
Comments
Hi there, Thanks for opening up an issue. When creating an issue, an issue template is presented. It looks like you've (partly) removed it. This causes your issue report to be incomplete. Please edit your issue to have the full issue template back again and provide as much of the requested data as possible. Without it, we won't be able to help you. Thanks already! 👍 |
Same problem with SK10Y, |
lg_soundbar documentation |
@frenck any option to disable lg_soundbar Auto-detection? |
I enabled the logs in more detail, here is what i got: 2020-10-13 06:40:15 INFO (SyncWorker_10) [homeassistant.loader] Loaded lg_soundbar from homeassistant.components.lg_soundbar 2020-10-13 06:40:17 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.lg_soundbar 2020-10-13 06:46:10 INFO (MainThread) [homeassistant.components.discovery] Found new service: lg_smart_device {'host': '192.XXX.XXX.XX', 'port': XXXX, 'hostname': 'Soundbar-c45d8433-4d89-bb09-5763-xxxxxxxxxxx-fritz-box.local.', 'properties': {'PROTOVER': '1.0', 'UUID': '57f77c6c-71a4-4004-bfac-exxxxxxxxxxxxxx', 'Model_Type': '0', 'ASSISTANT': 'true'}} 2020-10-13 06:46:10 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.lg_soundbar 2020-10-13 06:46:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new media_player.lg_soundbar entity: media_player.lg_soundbar_57f77c6c_71a4_4004_bfac_xxxxxxxxxxxxxxxx ....after disabling the entity manually i got this again... 2020-10-13 08:43:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.lg_soundbar_57f77c6c_71a4_4004_bfac_xxxxxxxxxxxx is incorrectly being triggered for updates while it is disabled. This is a bug in the lg_soundbar integration |
See also google/python-temescal#7 |
There are two problems here:
As unique id i am testing the hostname since that should not change unless the user does so. And so far it looks ok. What did you @amonhk use as unique id for homeassistant? |
@bernimoses I have used hostname (self._host) |
@bernimoses Is there anything I can help with to close this issue? I have a LG DSN11rg, and I'm happy to help test or provide additional information if needed. |
@bernimoses I just tried to use the custom_component, and to be clear how I set it up: Unfortunatly I'm getting this error:
If I switch input sources on the Soundbar itself, it gives this error in the log:
|
This is probably a useless comment, but... wouldn't a static ip (eventually with a manual setup) solve this problem? I know it would not be a zero-effort discovered component anymore, but the component is practically unusable at this point, so... |
@Zarkstar That's actually not a bad idea. |
Hi, any news on the implementation? I would love to help test it with my SK10Y but I can't find the documentation on how to implement custom components. I tried copying the media_player.py file, the init file and the manifest file in a folder inside custom_components, but it did not work (the soundbar is still randomly turning on). At this point, maybe the best thing would be to remove the discovery option (allowing users who don't want to connect the soundbar in this problematic stage of integration) fo lg_soundbar and just have a manual configuration in which the user can insert the ip if static, or the MAC address. Thank you in advance for the update |
I have the same problem with a SK09Y. |
The problem
my home assistant keeps my soundbar on and i can't turn it of anymore. When i push the powerbutton on the remote it says goodbye and restarts itself immediately.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
2020-10-03 11:10:20 WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.lg_soundbar_e797e6bc_013a_41c4_8df7_38516a852e9c is incorrectly being triggered for updates while it is disabled. This is a bug in the lg_soundbar integration
Additional information
The soundbar is not integrated as a device. It always gets an entity. I can deactivate the entity and will get the warning in the logs:
When i push the turn off button ot the switch long, the soundbar turns off. But when i'm using it again, home assistent detects it again as a new entity - with another number behind lg_soundbar_...
I tried:
discovery:
ignore:
- lg_soundbar
- lg
- media_player
that didn't work
also tried:
discovery:
ignore:
- google_cast
media_player:
that didn't work either
I'm not using the soundbar with ha so i just would love to remove it fully to have a chance to switch it of again
The text was updated successfully, but these errors were encountered: