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

Empty device indentifiers #50

Closed
Zuz666 opened this issue Oct 6, 2020 · 1 comment
Closed

Empty device indentifiers #50

Zuz666 opened this issue Oct 6, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Zuz666
Copy link

Zuz666 commented Oct 6, 2020

Hi @AlexxIT!

After successful update to version v0.4.0 - 2020-09-27 got some errors like this:

2020-10-06 15:02:48 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "C:\p\HassWP\config\custom_components\xiaomi_gateway3\__init__.py", line 79, in device_registry_updated
    domain, mac = next(iter(hass_device.identifiers))
StopIteration

The above exception was the direct cause of the following exception:

RuntimeError: coroutine raised StopIteration
2020-10-06 15:02:48 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "C:\p\HassWP\config\custom_components\xiaomi_gateway3\__init__.py", line 79, in device_registry_updated
    domain, mac = next(iter(hass_device.identifiers))
StopIteration

On version "v0.5.0 - 2020-10-04" the problem also repeats.

These errors do not seem to affect the functionality of the component.
The component runs on the HassWP / W10Pro / Python 3.7.7 / fully updated.

@AlexxIT AlexxIT added the bug Something isn't working label Oct 7, 2020
@AlexxIT AlexxIT changed the title Strange startup errors Empty device indentifiers Oct 8, 2020
AlexxIT added a commit that referenced this issue Oct 9, 2020
@Zuz666
Copy link
Author

Zuz666 commented Oct 9, 2020

@AlexxIT thanks! Just test it, works fine.

@Zuz666 Zuz666 closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants