Coder Social home page Coder Social logo

Comments (7)

home-assistant avatar home-assistant commented on July 20, 2024

Hey there @chemelli74, @epenet, mind taking a look at this issue as it has been labeled with an integration (samsungtv) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of samsungtv can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign samsungtv Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


samsungtv documentation
samsungtv source
(message by IssueLinks)

from core.

briangunderson avatar briangunderson commented on July 20, 2024

IMG_6364

from core.

Anto79-ops avatar Anto79-ops commented on July 20, 2024

I can confrim something similar happened to me. 4 Samsung TVs and one of them looked like it just changed names from its model number name to the generic "Samsung SmartTV" along with its entities. I renamed the tv back to the old name and its entity names (as it broke some of my automations), and it back to normal now.

This happened to me when updating to 2024.6.0b0.

from core.

epenet avatar epenet commented on July 20, 2024

Probably related to #117906
I don't think it's possible to remove a bad MAC address without removing and re-registering a device.

The issue is that some TVs were registered with a MAC address with a string "none", which caused multiple TVs to get "merged".
Now the cleanup removes all TVs that have this "none" string, and the devices get recreated cleanly.

from core.

war4peace avatar war4peace commented on July 20, 2024

I have upgraded to 2024.6 yesterday and the Samsung Smart TV integration is now... defective, for lack of a better term.
There are 5x TVs in my home, all Samsung.

Integration in settings:
image

Integration details:
image

I turned one of the TVs on, and I was prompted to integrate it into Samsung Smart TV, which I did (it's the UE43NU7402 entry in the screenshot above, having no devices or entities). Obviously, it doesn't work well.

The two red entries can't be deleted. When trying to delete them, nothing happens. The System log details pasted below:

Logger: aiohttp.server
Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:421
First occurred: 15:03:59 (7 occurrences)
Last logged: 15:45:40

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 95, in delete
result = await hass.config_entries.async_remove(entry_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1724, in async_remove
del self._entries[entry.entry_id]
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1541, in delitem
self._unindex_entry(entry_id)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1528, in _unindex_entry
self._domain_index[domain].remove(entry)
ValueError: list.remove(x): x not in list

I furthermore have found no obvious way to remove the integration and re-add it, therefore I am asking for some guidance fixing this.
Any help would be much appreciated!

from core.

epenet avatar epenet commented on July 20, 2024

Please do not hijack other issues.
You should instead open your own issue.

from core.

war4peace avatar war4peace commented on July 20, 2024

It seems like the same issue to me, apologies if that is not the case.
Devices and entities are mixed up. It is clear if I enter the red ones and look at them, there are entities under the red entries which also exist in the migrated ones.
I can very well open a new issue, if that's what you think I should do.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.