Merge pull request #17578 from home-assistant/rc

0.80.3
This commit is contained in:
Paulus Schoutsen 2018-10-18 14:55:46 +02:00 committed by GitHub
commit b1a05e7605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 17 deletions

View File

@ -24,7 +24,7 @@ from homeassistant.core import callback
from homeassistant.helpers.translation import async_get_translations from homeassistant.helpers.translation import async_get_translations
from homeassistant.loader import bind_hass from homeassistant.loader import bind_hass
REQUIREMENTS = ['home-assistant-frontend==20181017.0'] REQUIREMENTS = ['home-assistant-frontend==20181018.0']
DOMAIN = 'frontend' DOMAIN = 'frontend'
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log',

View File

@ -27,7 +27,7 @@ from .const import (
# We need an import from .config_flow, without it .config_flow is never loaded. # We need an import from .config_flow, without it .config_flow is never loaded.
from .config_flow import HangoutsFlowHandler # noqa: F401 from .config_flow import HangoutsFlowHandler # noqa: F401
REQUIREMENTS = ['hangups==0.4.5'] REQUIREMENTS = ['hangups==0.4.6']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -191,16 +191,19 @@ class HangoutsBot:
self._connected = True self._connected = True
dispatcher.async_dispatcher_send(self.hass, EVENT_HANGOUTS_CONNECTED) dispatcher.async_dispatcher_send(self.hass, EVENT_HANGOUTS_CONNECTED)
def _on_disconnect(self): async def _on_disconnect(self):
"""Handle disconnecting.""" """Handle disconnecting."""
_LOGGER.debug('Connection lost!') if self._connected:
self._connected = False _LOGGER.debug('Connection lost! Reconnect...')
dispatcher.async_dispatcher_send(self.hass, await self.async_connect()
EVENT_HANGOUTS_DISCONNECTED) else:
dispatcher.async_dispatcher_send(self.hass,
EVENT_HANGOUTS_DISCONNECTED)
async def async_disconnect(self): async def async_disconnect(self):
"""Disconnect the client if it is connected.""" """Disconnect the client if it is connected."""
if self._connected: if self._connected:
self._connected = False
await self._client.disconnect() await self._client.disconnect()
async def async_handle_hass_stop(self, _): async def async_handle_hass_stop(self, _):

View File

@ -25,7 +25,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
from homeassistant.util import get_local_ip from homeassistant.util import get_local_ip
REQUIREMENTS = ['async-upnp-client==0.12.4'] REQUIREMENTS = ['async-upnp-client==0.12.6']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -17,7 +17,7 @@ from homeassistant.const import (
STATE_PLAYING, STATE_UNKNOWN) STATE_PLAYING, STATE_UNKNOWN)
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['snapcast==2.0.8'] REQUIREMENTS = ['snapcast==2.0.9']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -30,7 +30,7 @@ from .config_flow import ensure_domain_data
from .device import Device from .device import Device
REQUIREMENTS = ['async-upnp-client==0.12.4'] REQUIREMENTS = ['async-upnp-client==0.12.6']
DEPENDENCIES = ['http'] DEPENDENCIES = ['http']
NOTIFICATION_ID = 'upnp_notification' NOTIFICATION_ID = 'upnp_notification'

View File

@ -2,7 +2,7 @@
"""Constants used by Home Assistant components.""" """Constants used by Home Assistant components."""
MAJOR_VERSION = 0 MAJOR_VERSION = 0
MINOR_VERSION = 80 MINOR_VERSION = 80
PATCH_VERSION = '2' PATCH_VERSION = '3'
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 5, 3) REQUIRED_PYTHON_VER = (3, 5, 3)

View File

@ -147,7 +147,7 @@ asterisk_mbox==0.5.0
# homeassistant.components.upnp # homeassistant.components.upnp
# homeassistant.components.media_player.dlna_dmr # homeassistant.components.media_player.dlna_dmr
async-upnp-client==0.12.4 async-upnp-client==0.12.6
# homeassistant.components.light.avion # homeassistant.components.light.avion
# avion==0.7 # avion==0.7
@ -434,7 +434,7 @@ ha-philipsjs==0.0.5
habitipy==0.2.0 habitipy==0.2.0
# homeassistant.components.hangouts # homeassistant.components.hangouts
hangups==0.4.5 hangups==0.4.6
# homeassistant.components.mqtt.server # homeassistant.components.mqtt.server
hbmqtt==0.9.4 hbmqtt==0.9.4
@ -458,7 +458,7 @@ hole==0.3.0
holidays==0.9.7 holidays==0.9.7
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20181017.0 home-assistant-frontend==20181018.0
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
# homekit==0.10 # homekit==0.10
@ -1364,7 +1364,7 @@ smappy==0.2.16
# smbus-cffi==0.5.1 # smbus-cffi==0.5.1
# homeassistant.components.media_player.snapcast # homeassistant.components.media_player.snapcast
snapcast==2.0.8 snapcast==2.0.9
# homeassistant.components.sensor.socialblade # homeassistant.components.sensor.socialblade
socialbladeclient==0.2 socialbladeclient==0.2

View File

@ -78,7 +78,7 @@ georss_client==0.3
ha-ffmpeg==1.9 ha-ffmpeg==1.9
# homeassistant.components.hangouts # homeassistant.components.hangouts
hangups==0.4.5 hangups==0.4.6
# homeassistant.components.mqtt.server # homeassistant.components.mqtt.server
hbmqtt==0.9.4 hbmqtt==0.9.4
@ -90,7 +90,7 @@ hdate==0.6.3
holidays==0.9.7 holidays==0.9.7
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20181017.0 home-assistant-frontend==20181018.0
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.9.8 homematicip==0.9.8