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

Switch to async zeroconf / AsyncServiceBrowser #624

Closed
wants to merge 1 commit into from

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Oct 31, 2021

  • Fix a sleep in the sensor platform that was blocking
    the event loop and causing instability

Closes #622

- Fix a sleep in the sensor platform that was blocking
  the event loop and causing instability
@chemelli74
Copy link

@AlexxIT do you mind checking this PR ?
Thank you in advance,

Simone

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 14, 2022

@chemelli74 I am developing a new version of the component with completely redesigned code.

@AlexxIT AlexxIT mentioned this pull request Apr 19, 2022
18 tasks
@bdraco
Copy link
Contributor Author

bdraco commented Apr 23, 2022

superseded by #751

@bdraco bdraco closed this Apr 23, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 29, 2022

@bdraco Your version of zeroconf no longer generates ServiceStateChange.Removed events. I checked history.
v0.31.0 was latest version with support this event :(

@bdraco
Copy link
Contributor Author

bdraco commented Apr 29, 2022

@bdraco
Copy link
Contributor Author

bdraco commented Apr 29, 2022

Can you try testing with https://github.com/jstasiak/python-zeroconf/blob/master/examples/async_browser.py? You'll need to adjust the type here https://github.com/jstasiak/python-zeroconf/blob/master/examples/async_browser.py#L56

Service HASS Bridge 07CEEE._hap._tcp.local. of type _hap._tcp.local. state changed: ServiceStateChange.Removed

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

Successfully merging this pull request may close these issues.

Consider switching to AsyncZeroconf
3 participants