From a9797ad93fd3547f19c2dacda385df6bd0154058 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 5 Dec 2017 21:53:52 -0800 Subject: [PATCH 1/2] Revert pychromecast update --- homeassistant/components/media_player/cast.py | 3 ++- requirements_all.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/media_player/cast.py b/homeassistant/components/media_player/cast.py index ca3da7ae165fe7..91faddf9b00849 100644 --- a/homeassistant/components/media_player/cast.py +++ b/homeassistant/components/media_player/cast.py @@ -20,7 +20,8 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pychromecast==1.0.2'] +# Do not upgrade to 1.0.2, it breaks a bunch of stuff +REQUIREMENTS = ['pychromecast==0.8.2'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index da2492edebd43b..39f8248b87d769 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -632,7 +632,7 @@ pybbox==0.0.5-alpha # pybluez==0.22 # homeassistant.components.media_player.cast -pychromecast==1.0.2 +pychromecast==0.8.2 # homeassistant.components.media_player.cmus pycmus==0.1.0 From 2197ccf3fe336c938ad2444008327644f70341fe Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 5 Dec 2017 22:05:12 -0800 Subject: [PATCH 2/2] Update cast.py --- homeassistant/components/media_player/cast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/media_player/cast.py b/homeassistant/components/media_player/cast.py index 91faddf9b00849..6ae44495e3e22b 100644 --- a/homeassistant/components/media_player/cast.py +++ b/homeassistant/components/media_player/cast.py @@ -21,6 +21,7 @@ import homeassistant.util.dt as dt_util # Do not upgrade to 1.0.2, it breaks a bunch of stuff +# https://github.com/home-assistant/home-assistant/issues/10926 REQUIREMENTS = ['pychromecast==0.8.2'] _LOGGER = logging.getLogger(__name__)