Skip to content

Commit

Permalink
Merge pull request home-assistant#9885 from home-assistant/release-0-…
Browse files Browse the repository at this point in the history
…55-1

0.55.1
  • Loading branch information
balloob authored Oct 15, 2017
2 parents 8a2d7a3 + ff6f5cc commit c6b285c
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/camera/synology.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
async_aiohttp_proxy_web)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['py-synology==0.1.1']
REQUIREMENTS = ['py-synology==0.1.3']

_LOGGER = logging.getLogger(__name__)

Expand Down
5 changes: 5 additions & 0 deletions homeassistant/components/cover/rflink.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ def should_poll(self):
"""No polling available in RFlink cover."""
return False

@property
def is_closed(self):
"""Return if the cover is closed."""
return None

def async_close_cover(self, **kwargs):
"""Turn the device close."""
return self._async_handle_command("close_cover")
Expand Down
5 changes: 3 additions & 2 deletions homeassistant/components/device_tracker/owntracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ def async_handle_message(hass, context, message):
handler = HANDLERS.get(msgtype)

if handler is None:
error = 'Received unsupported message type: {}.'.format(msgtype)
_LOGGER.warning(error)
_LOGGER.warning(
'Received unsupported message type: %s.', msgtype)
return

yield from handler(hass, context, message)
1 change: 1 addition & 0 deletions homeassistant/components/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def __init__(self):
from jinja2 import FileSystemLoader, Environment

self.templates = Environment(
autoescape=True,
loader=FileSystemLoader(
os.path.join(os.path.dirname(__file__), 'templates/')
)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def load_config(path):
calendars = {}
try:
with open(path) as file:
data = yaml.load(file)
data = yaml.safe_load(file)
for calendar in data:
try:
calendars.update({calendar[CONF_CAL_ID]:
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/light/tradfri.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def async_turn_on(self, **kwargs):
"""Instruct the group lights to turn on, or dim."""
keys = {}
if ATTR_TRANSITION in kwargs:
keys['transition_time'] = int(kwargs[ATTR_TRANSITION])
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10

if ATTR_BRIGHTNESS in kwargs:
self.hass.async_add_job(self._api(
Expand Down Expand Up @@ -259,7 +259,7 @@ def async_turn_on(self, **kwargs):

keys = {}
if ATTR_TRANSITION in kwargs:
keys['transition_time'] = int(kwargs[ATTR_TRANSITION])
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10

if ATTR_BRIGHTNESS in kwargs:
self.hass.async_add_job(self._api(
Expand Down
8 changes: 4 additions & 4 deletions homeassistant/components/media_player/liveboxplaytv.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
MEDIA_TYPE_CHANNEL, MediaPlayerDevice, PLATFORM_SCHEMA)
from homeassistant.const import (
CONF_HOST, CONF_PORT, STATE_ON, STATE_OFF, STATE_PLAYING,
STATE_PAUSED, STATE_UNKNOWN, CONF_NAME)
STATE_PAUSED, CONF_NAME)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['liveboxplaytv==1.4.9']
REQUIREMENTS = ['liveboxplaytv==1.5.0']

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -72,7 +72,7 @@ def __init__(self, host, port, name):
self._muted = False
self._name = name
self._current_source = None
self._state = STATE_UNKNOWN
self._state = None
self._channel_list = {}
self._current_channel = None
self._current_program = None
Expand All @@ -92,7 +92,7 @@ def update(self):
self._client.get_current_channel_image(img_size=300)
self.refresh_channel_list()
except requests.ConnectionError:
self._state = STATE_OFF
self._state = None

@property
def name(self):
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""Constants used by Home Assistant components."""
MAJOR_VERSION = 0
MINOR_VERSION = 55
PATCH_VERSION = '0'
PATCH_VERSION = '1'
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 4, 2)
Expand Down
4 changes: 2 additions & 2 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ lightify==1.0.6
limitlessled==1.0.8

# homeassistant.components.media_player.liveboxplaytv
liveboxplaytv==1.4.9
liveboxplaytv==1.5.0

# homeassistant.components.lametric
# homeassistant.components.notify.lametric
Expand Down Expand Up @@ -540,7 +540,7 @@ pwmled==1.2.1
py-cpuinfo==3.3.0

# homeassistant.components.camera.synology
py-synology==0.1.1
py-synology==0.1.3

# homeassistant.components.hdmi_cec
pyCEC==0.4.13
Expand Down

0 comments on commit c6b285c

Please sign in to comment.