mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +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]]
|
hosts = [discovery_info[0]]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
hosts = pychromecast.discover_chromecasts()
|
hosts = (host_port[0] for host_port
|
||||||
|
in pychromecast.discover_chromecasts())
|
||||||
|
|
||||||
casts = []
|
casts = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user