Skip to content
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

Lost enigma2 entity with may update #117959

Open
ThierryBourbon opened this issue May 23, 2024 · 10 comments
Open

Lost enigma2 entity with may update #117959

ThierryBourbon opened this issue May 23, 2024 · 10 comments

Comments

@ThierryBourbon
Copy link

The problem

I update my HA and the entity I had: 'media_player.vu_vuduo4k' became unavailable. another media_player 'media_player.unnamed_device' who works has been created. but there are no entities in enigma2 device. I would like to know how to rename 'media_player.unnamed_device' and why it does not appear in device.
(I removed any reference to enigma2 in configuration.yaml)

What version of Home Assistant Core has the issue?

core-2024.5.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

enigma2

Link to integration documentation on our website

https://www.home-assistant.io/integrations/enigma2

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of enigma2 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 enigma2 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)


enigma2 documentation
enigma2 source
(message by IssueLinks)

@ThierryBourbon ThierryBourbon changed the title Problem with may update lost device Lost enigma2 entity with may update May 23, 2024
@richsimpson
Copy link

I have same issue.

Weird that there are 2 devices and only one decides to behave in this way. The other remains connected using the original setup and name.

Removing the original and turning the device off before a reboot to 'forget' the discovered item doesn't solve it.

@karia001
Copy link

karia001 commented Jun 6, 2024

i have the same issue

Update for media_player.10_0_1_12 fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 941, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1289, in async_device_update await self.async_update() File "/usr/src/homeassistant/homeassistant/components/enigma2/media_player.py", line 210, in async_update await self._device.update() File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 199, in update self.sources = await self.get_bouquet_sources(bouquet=self.source_bouquet) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 476, in get_bouquet_sources result = await self._call_api(PATH_EPGNOW, {"bRef": bouquet}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 519, in _call_api raise ConnectionError ConnectionError

@autinerd
Copy link
Contributor

autinerd commented Jun 8, 2024

Thanks for reporting the issue(s).

From what I can see as one of my devices shows it as well (with OpenATV 5.4), that the MAC address is null which I don't handle gracefully and so the entity is missing.

Can you please visit http://<your device IP or DNS name>/api/about and check for a line named "mac" and if you see "mac": null,?

@ThierryBourbon
Copy link
Author

No
"mac": "00:1d:ec:##:##:##

@karia001
Copy link

karia001 commented Jun 9, 2024

This is what I see,
"mac": "00:1d:ec:12:ad:d8",

@karia001
Copy link

after upgrading to 24.6.0 it is working again

@richsimpson
Copy link

My second player is now found. The first is still stuck as unnamed and not able to remove it or rename it.

I have turned the device off, then rebooted HASS but it still finds it, even though not turned on. It is still showing as an unnamed_media_player, then when it is turned on it is controllable under that.

@richsimpson
Copy link

2024.6.2 has solved my issue today. Both media players are now in the right place and can be named appropriately.

@karia001
Copy link

karia001 commented Jun 12, 2024

mine was lost again when i updated to 2024.6.2

`Logger: homeassistant.helpers.entity
Bron: helpers/entity.py:941
Eerst voorgekomen: 11:34:55 (9 gebeurtenissen)
Laatst gelogd: 11:36:15

Update for media_player.10_0_1_12 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 941, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1289, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/enigma2/media_player.py", line 210, in async_update
await self._device.update()
File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 199, in update
self.sources = await self.get_bouquet_sources(bouquet=self.source_bouquet)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 476, in get_bouquet_sources
result = await self._call_api(PATH_EPGNOW, {"bRef": bouquet})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/openwebif/api.py", line 519, in _call_api
raise ConnectionError
ConnectionError`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants