Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Handle parse_event_xml doing I/O in the event loop #80

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Apr 6, 2021

Fixes home-assistant/core#48732

I'll update the SoCo PR as well : SoCo/SoCo#815

@amelchio
Copy link
Owner

amelchio commented Apr 6, 2021

Oh, good thing I admitted to not reviewing :-P. Just let me know when you are ready to have it pushed out.

@bdraco
Copy link
Contributor Author

bdraco commented Apr 6, 2021

Oh, good thing I admitted to not reviewing :-P. Just let me know when you are ready to have it pushed out.

👍 . I've been extra vigilant about testing but I didn't expect parse_event_xml to trigger discovery or I/O!

@amelchio
Copy link
Owner

amelchio commented Apr 6, 2021

Yeah, SoCo is odd like that. Most properties will also request data from the speaker.

@cgtobi
Copy link

cgtobi commented Apr 6, 2021

Looks like it fixed the problem.

@bdraco bdraco marked this pull request as ready for review April 6, 2021 20:14
@bdraco
Copy link
Contributor Author

bdraco commented Apr 6, 2021

Looks good on my end as well

@amelchio amelchio merged commit c9c2497 into amelchio:master Apr 6, 2021
@amelchio
Copy link
Owner

amelchio commented Apr 6, 2021

0.0.42 published 😊

@bdraco
Copy link
Contributor Author

bdraco commented Apr 6, 2021

Thanks. I'll bump core

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

Successfully merging this pull request may close these issues.

Detected I/O inside the event loop with sonos
3 participants