Bump pychromecast (#34466)

* Bump pychromecast

* Fix tests
This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-04-21 07:57:39 +02:00
1 parent f12bd7ad99
commit 8e150ff1f5
5 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
"name": "Google Cast",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/cast",
"requirements": ["pychromecast==4.2.3"],
"requirements": ["pychromecast==5.0.0"],
"after_dependencies": ["cloud"],
"zeroconf": ["_googlecast._tcp.local."],
"codeowners": ["@emontnemery"]
@@ -260,7 +260,6 @@ class CastDevice(MediaPlayerDevice):
# will automatically be picked up.
return
# pylint: disable=protected-access
_LOGGER.debug(
"[%s %s (%s:%s)] Connecting to cast device by service %s",
self.entity_id,
@@ -270,7 +269,7 @@ class CastDevice(MediaPlayerDevice):
self.services,
)
chromecast = await self.hass.async_add_executor_job(
pychromecast._get_chromecast_from_service,
pychromecast.get_chromecast_from_service,
(
self.services,
ChromeCastZeroconf.get_zeroconf(),