Don't do http requests to determine Cast device details (#34082)

* Don't do http requests to determine cast device details

* Fix tests

* Update homeassistant/components/cast/media_player.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Erik MontnemeryandPaulus Schoutsen authored and GitHub committed 2020-04-12 15:02:28 -07:00
1 parent 200e140e80
commit ec2c7ea932
4 files changed
+26 -139

No files matched your search

@@ -25,7 +25,6 @@ def discover_chromecast(hass: HomeAssistant, info: ChromecastInfo):
_LOGGER.debug("Discovered previous chromecast %s", info)
# Either discovered completely new chromecast or a "moved" one.
info = info.fill_out_missing_chromecast_info()
_LOGGER.debug("Discovered chromecast %s", info)
if info.uuid is not None: