Fix Google Cast discovery
This commit is contained in:
1 parent
10d74bb37e
commit
e74806ab70
1 file changed
+2
-1
@@ -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 = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user