Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix cast doing I/O in event loop #12632
Follow-up on #12474.
We're doing I/O inside
Thanks to @rytilahti for pointing this out!
with async_timeout.timeout(30, loop=hass.loop): chromecast = yield from hass.async_add_job( pychromecast.Chromecast, *want_host)
Example entry for