Merge pull request #17480 from home-assistant/rc

0.80.1
This commit is contained in:
Paulus Schoutsen 2018-10-15 16:10:50 +02:00 committed by GitHub
commit 4ea71b0602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 9 deletions

View File

@ -85,19 +85,23 @@ class SpcAlarm(alarm.AlarmControlPanel):
async def async_alarm_disarm(self, code=None): async def async_alarm_disarm(self, code=None):
"""Send disarm command.""" """Send disarm command."""
from pyspcwebgw.const import AreaMode from pyspcwebgw.const import AreaMode
self._api.change_mode(area=self._area, new_mode=AreaMode.UNSET) await self._api.change_mode(area=self._area,
new_mode=AreaMode.UNSET)
async def async_alarm_arm_home(self, code=None): async def async_alarm_arm_home(self, code=None):
"""Send arm home command.""" """Send arm home command."""
from pyspcwebgw.const import AreaMode from pyspcwebgw.const import AreaMode
self._api.change_mode(area=self._area, new_mode=AreaMode.PART_SET_A) await self._api.change_mode(area=self._area,
new_mode=AreaMode.PART_SET_A)
async def async_alarm_arm_night(self, code=None): async def async_alarm_arm_night(self, code=None):
"""Send arm home command.""" """Send arm home command."""
from pyspcwebgw.const import AreaMode from pyspcwebgw.const import AreaMode
self._api.change_mode(area=self._area, new_mode=AreaMode.PART_SET_B) await self._api.change_mode(area=self._area,
new_mode=AreaMode.PART_SET_B)
async def async_alarm_arm_away(self, code=None): async def async_alarm_arm_away(self, code=None):
"""Send arm away command.""" """Send arm away command."""
from pyspcwebgw.const import AreaMode from pyspcwebgw.const import AreaMode
self._api.change_mode(area=self._area, new_mode=AreaMode.FULL_SET) await self._api.change_mode(area=self._area,
new_mode=AreaMode.FULL_SET)

View File

@ -141,6 +141,8 @@ class APIEventStream(HomeAssistantView):
_LOGGER.debug("STREAM %s RESPONSE CLOSED", id(stop_obj)) _LOGGER.debug("STREAM %s RESPONSE CLOSED", id(stop_obj))
unsub_stream() unsub_stream()
return response
class APIConfigView(HomeAssistantView): class APIConfigView(HomeAssistantView):
"""View to handle Configuration requests.""" """View to handle Configuration requests."""

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==20181012.0'] REQUIREMENTS = ['home-assistant-frontend==20181014.0']
DOMAIN = 'frontend' DOMAIN = 'frontend'
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log',

View File

@ -304,7 +304,7 @@ class HangoutsBot:
"""Handle the send_message service.""" """Handle the send_message service."""
await self._async_send_message(service.data[ATTR_MESSAGE], await self._async_send_message(service.data[ATTR_MESSAGE],
service.data[ATTR_TARGET], service.data[ATTR_TARGET],
service.data[ATTR_DATA]) service.data.get(ATTR_DATA, {}))
async def async_handle_update_users_and_conversations(self, _=None): async def async_handle_update_users_and_conversations(self, _=None):
"""Handle the update_users_and_conversations service.""" """Handle the update_users_and_conversations service."""

View File

@ -187,3 +187,5 @@ class WebSocketHandler:
self._logger.debug("Disconnected") self._logger.debug("Disconnected")
else: else:
self._logger.warning("Disconnected: %s", disconnect_warn) self._logger.warning("Disconnected: %s", disconnect_warn)
return wsock

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 = '0' PATCH_VERSION = '1'
__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

@ -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==20181012.0 home-assistant-frontend==20181014.0
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
# homekit==0.10 # homekit==0.10

View File

@ -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==20181012.0 home-assistant-frontend==20181014.0
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.9.8 homematicip==0.9.8