From 6e4a99cec0f437778209e8573b8f4cb4a0649ca6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Oct 2018 13:52:38 +0200 Subject: [PATCH 1/6] Bump frontend to 20181018.0 --- homeassistant/components/frontend/__init__.py | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index ce553da31a4..df25803b4e0 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -24,7 +24,7 @@ from homeassistant.core import callback from homeassistant.helpers.translation import async_get_translations from homeassistant.loader import bind_hass -REQUIREMENTS = ['home-assistant-frontend==20181017.0'] +REQUIREMENTS = ['home-assistant-frontend==20181018.0'] DOMAIN = 'frontend' DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', diff --git a/requirements_all.txt b/requirements_all.txt index e86a488de51..a18883d7c2c 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -458,7 +458,7 @@ hole==0.3.0 holidays==0.9.7 # homeassistant.components.frontend -home-assistant-frontend==20181017.0 +home-assistant-frontend==20181018.0 # homeassistant.components.homekit_controller # homekit==0.10 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 97c453b2069..dc38eab532e 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -90,7 +90,7 @@ hdate==0.6.3 holidays==0.9.7 # homeassistant.components.frontend -home-assistant-frontend==20181017.0 +home-assistant-frontend==20181018.0 # homeassistant.components.homematicip_cloud homematicip==0.9.8 From 91dc0c3731fb6d62a695ff788b1afa6928cad183 Mon Sep 17 00:00:00 2001 From: Marcel Hoppe Date: Tue, 16 Oct 2018 20:09:34 +0200 Subject: [PATCH 2/6] update hangups to 0.4.6 and fix Issue #16593 hangouts reconnects. (#17518) --- homeassistant/components/hangouts/__init__.py | 2 +- homeassistant/components/hangouts/hangouts_bot.py | 13 ++++++++----- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 8480ae09549..5d8a167d2d9 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -27,7 +27,7 @@ from .const import ( # We need an import from .config_flow, without it .config_flow is never loaded. from .config_flow import HangoutsFlowHandler # noqa: F401 -REQUIREMENTS = ['hangups==0.4.5'] +REQUIREMENTS = ['hangups==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hangouts/hangouts_bot.py b/homeassistant/components/hangouts/hangouts_bot.py index bceedb1acfa..ed041a30ce6 100644 --- a/homeassistant/components/hangouts/hangouts_bot.py +++ b/homeassistant/components/hangouts/hangouts_bot.py @@ -191,16 +191,19 @@ class HangoutsBot: self._connected = True dispatcher.async_dispatcher_send(self.hass, EVENT_HANGOUTS_CONNECTED) - def _on_disconnect(self): + async def _on_disconnect(self): """Handle disconnecting.""" - _LOGGER.debug('Connection lost!') - self._connected = False - dispatcher.async_dispatcher_send(self.hass, - EVENT_HANGOUTS_DISCONNECTED) + if self._connected: + _LOGGER.debug('Connection lost! Reconnect...') + await self.async_connect() + else: + dispatcher.async_dispatcher_send(self.hass, + EVENT_HANGOUTS_DISCONNECTED) async def async_disconnect(self): """Disconnect the client if it is connected.""" if self._connected: + self._connected = False await self._client.disconnect() async def async_handle_hass_stop(self, _): diff --git a/requirements_all.txt b/requirements_all.txt index a18883d7c2c..12a11ba1499 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -434,7 +434,7 @@ ha-philipsjs==0.0.5 habitipy==0.2.0 # homeassistant.components.hangouts -hangups==0.4.5 +hangups==0.4.6 # homeassistant.components.mqtt.server hbmqtt==0.9.4 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index dc38eab532e..b92e5616c3d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -78,7 +78,7 @@ georss_client==0.3 ha-ffmpeg==1.9 # homeassistant.components.hangouts -hangups==0.4.5 +hangups==0.4.6 # homeassistant.components.mqtt.server hbmqtt==0.9.4 From 9ded16ccc355bc5046daa1f7fbffea13799930fa Mon Sep 17 00:00:00 2001 From: Steven Looman Date: Sat, 13 Oct 2018 14:29:12 +0200 Subject: [PATCH 3/6] Update to async-upnp-client==0.12.5 (#17401) --- homeassistant/components/media_player/dlna_dmr.py | 2 +- homeassistant/components/upnp/__init__.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/media_player/dlna_dmr.py b/homeassistant/components/media_player/dlna_dmr.py index 8aab4bfa43a..25a729aed6d 100644 --- a/homeassistant/components/media_player/dlna_dmr.py +++ b/homeassistant/components/media_player/dlna_dmr.py @@ -25,7 +25,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import get_local_ip -REQUIREMENTS = ['async-upnp-client==0.12.4'] +REQUIREMENTS = ['async-upnp-client==0.12.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index f70fbcc4d20..bf9f8a4746d 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -30,7 +30,7 @@ from .config_flow import ensure_domain_data from .device import Device -REQUIREMENTS = ['async-upnp-client==0.12.4'] +REQUIREMENTS = ['async-upnp-client==0.12.5'] DEPENDENCIES = ['http'] NOTIFICATION_ID = 'upnp_notification' diff --git a/requirements_all.txt b/requirements_all.txt index 12a11ba1499..c3f376908ca 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -147,7 +147,7 @@ asterisk_mbox==0.5.0 # homeassistant.components.upnp # homeassistant.components.media_player.dlna_dmr -async-upnp-client==0.12.4 +async-upnp-client==0.12.5 # homeassistant.components.light.avion # avion==0.7 From 43b140be5e6cac14c597f40db01bb0608c4d53b0 Mon Sep 17 00:00:00 2001 From: Steven Looman Date: Wed, 17 Oct 2018 22:56:21 +0200 Subject: [PATCH 4/6] Upgrade async_upnp_client to 0.12.6 (#17560) --- homeassistant/components/media_player/dlna_dmr.py | 2 +- homeassistant/components/upnp/__init__.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/media_player/dlna_dmr.py b/homeassistant/components/media_player/dlna_dmr.py index 25a729aed6d..b787ed689c8 100644 --- a/homeassistant/components/media_player/dlna_dmr.py +++ b/homeassistant/components/media_player/dlna_dmr.py @@ -25,7 +25,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import get_local_ip -REQUIREMENTS = ['async-upnp-client==0.12.5'] +REQUIREMENTS = ['async-upnp-client==0.12.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index bf9f8a4746d..c496caba948 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -30,7 +30,7 @@ from .config_flow import ensure_domain_data from .device import Device -REQUIREMENTS = ['async-upnp-client==0.12.5'] +REQUIREMENTS = ['async-upnp-client==0.12.6'] DEPENDENCIES = ['http'] NOTIFICATION_ID = 'upnp_notification' diff --git a/requirements_all.txt b/requirements_all.txt index c3f376908ca..7f8cec584b0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -147,7 +147,7 @@ asterisk_mbox==0.5.0 # homeassistant.components.upnp # homeassistant.components.media_player.dlna_dmr -async-upnp-client==0.12.5 +async-upnp-client==0.12.6 # homeassistant.components.light.avion # avion==0.7 From 17d0fe02c7ae261dd020bcb8bad36c41f1285c9b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Oct 2018 11:06:32 +0200 Subject: [PATCH 5/6] Update snapcast to 2.0.9 (#17573) --- homeassistant/components/media_player/snapcast.py | 2 +- requirements_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/media_player/snapcast.py b/homeassistant/components/media_player/snapcast.py index fca440df783..cfe2f997295 100644 --- a/homeassistant/components/media_player/snapcast.py +++ b/homeassistant/components/media_player/snapcast.py @@ -17,7 +17,7 @@ from homeassistant.const import ( STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['snapcast==2.0.8'] +REQUIREMENTS = ['snapcast==2.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 7f8cec584b0..a088fb696d3 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1364,7 +1364,7 @@ smappy==0.2.16 # smbus-cffi==0.5.1 # homeassistant.components.media_player.snapcast -snapcast==2.0.8 +snapcast==2.0.9 # homeassistant.components.sensor.socialblade socialbladeclient==0.2 From cd90bb4161be87afd5e726b05f5e99bd926e3012 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Oct 2018 13:58:58 +0200 Subject: [PATCH 6/6] Bumped version to 0.80.3 --- homeassistant/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index 54d1550ebe9..502a120a33c 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -2,7 +2,7 @@ """Constants used by Home Assistant components.""" MAJOR_VERSION = 0 MINOR_VERSION = 80 -PATCH_VERSION = '2' +PATCH_VERSION = '3' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 5, 3)