Skip to content

Commit

Permalink
Merge pull request #19986 from home-assistant/rc
Browse files Browse the repository at this point in the history
0.85.1
  • Loading branch information
balloob committed Jan 11, 2019
2 parents 70a8cac + 963ffa1 commit 088584b
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/frontend/__init__.py
Expand Up @@ -24,7 +24,7 @@
from homeassistant.helpers.translation import async_get_translations
from homeassistant.loader import bind_hass

REQUIREMENTS = ['home-assistant-frontend==20190109.0']
REQUIREMENTS = ['home-assistant-frontend==20190109.1']

DOMAIN = 'frontend'
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log',
Expand Down
5 changes: 4 additions & 1 deletion homeassistant/components/vacuum/neato.py
Expand Up @@ -82,7 +82,10 @@ def update(self):
self._available = False
return
_LOGGER.debug('self._state=%s', self._state)
robot_alert = ALERTS.get(self._state['alert'])
if 'alert' in self._state:
robot_alert = ALERTS.get(self._state['alert'])
else:
robot_alert = None
if self._state['state'] == 1:
if self._state['details']['isCharging']:
self._clean_state = STATE_DOCKED
Expand Down
15 changes: 7 additions & 8 deletions homeassistant/components/zha/__init__.py
Expand Up @@ -95,8 +95,7 @@ async def async_setup(hass, config):
context={'source': config_entries.SOURCE_IMPORT},
data={
CONF_USB_PATH: conf[CONF_USB_PATH],
CONF_RADIO_TYPE: conf.get(CONF_RADIO_TYPE).value,
ENABLE_QUIRKS: conf[ENABLE_QUIRKS]
CONF_RADIO_TYPE: conf.get(CONF_RADIO_TYPE).value
}
))
return True
Expand All @@ -107,17 +106,17 @@ async def async_setup_entry(hass, config_entry):
Will automatically load components to support devices found on the network.
"""
if config_entry.data.get(ENABLE_QUIRKS):
# needs to be done here so that the ZHA module is finished loading
# before zhaquirks is imported
# pylint: disable=W0611, W0612
import zhaquirks # noqa

hass.data[DATA_ZHA] = hass.data.get(DATA_ZHA, {})
hass.data[DATA_ZHA][DATA_ZHA_DISPATCHERS] = []

config = hass.data[DATA_ZHA].get(DATA_ZHA_CONFIG, {})

if config.get(ENABLE_QUIRKS, True):
# needs to be done here so that the ZHA module is finished loading
# before zhaquirks is imported
# pylint: disable=W0611, W0612
import zhaquirks # noqa

usb_path = config_entry.data.get(CONF_USB_PATH)
baudrate = config.get(CONF_BAUDRATE, DEFAULT_BAUDRATE)
radio_type = config_entry.data.get(CONF_RADIO_TYPE)
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/zha/const.py
Expand Up @@ -129,7 +129,6 @@ def populate_data():

SINGLE_INPUT_CLUSTER_DEVICE_CLASS.update({
zcl.clusters.general.OnOff: 'switch',
zcl.clusters.general.LevelControl: 'light',
zcl.clusters.measurement.RelativeHumidity: 'sensor',
zcl.clusters.measurement.TemperatureMeasurement: 'sensor',
zcl.clusters.measurement.PressureMeasurement: 'sensor',
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/const.py
Expand Up @@ -2,7 +2,7 @@
"""Constants used by Home Assistant components."""
MAJOR_VERSION = 0
MINOR_VERSION = 85
PATCH_VERSION = '0'
PATCH_VERSION = '1'
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 5, 3)
Expand Down
5 changes: 3 additions & 2 deletions homeassistant/helpers/service.py
Expand Up @@ -204,8 +204,9 @@ async def entity_service_call(hass, platforms, func, call):
if ATTR_ENTITY_ID in call.data:
target_all_entities = call.data[ATTR_ENTITY_ID] == ENTITY_MATCH_ALL
else:
_LOGGER.warning('Not passing an entity ID to a service to target all '
'entities is deprecated. Use instead: entity_id: "*"')
_LOGGER.warning(
'Not passing an entity ID to a service to target all entities is '
'deprecated. Use instead: entity_id: "%s"', ENTITY_MATCH_ALL)
target_all_entities = True

if not target_all_entities:
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -511,7 +511,7 @@ hole==0.3.0
holidays==0.9.8

# homeassistant.components.frontend
home-assistant-frontend==20190109.0
home-assistant-frontend==20190109.1

# homeassistant.components.zwave
homeassistant-pyozw==0.1.2
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -104,7 +104,7 @@ hdate==0.7.5
holidays==0.9.8

# homeassistant.components.frontend
home-assistant-frontend==20190109.0
home-assistant-frontend==20190109.1

# homeassistant.components.homematicip_cloud
homematicip==0.9.8
Expand Down

0 comments on commit 088584b

Please sign in to comment.