mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix Google Cast discovery
This commit is contained in:
parent
10d74bb37e
commit
e74806ab70
@ -41,7 +41,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
hosts = [discovery_info[0]]
|
||||
|
||||
else:
|
||||
hosts = pychromecast.discover_chromecasts()
|
||||
hosts = (host_port[0] for host_port
|
||||
in pychromecast.discover_chromecasts())
|
||||
|
||||
casts = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user