commit
8f8772093d
5 changed files with 10 additions and 4 deletions
|
@ -21,7 +21,7 @@ from homeassistant.const import CONF_NAME, EVENT_THEMES_UPDATED
|
||||||
from homeassistant.core import callback
|
from homeassistant.core import callback
|
||||||
from homeassistant.loader import bind_hass
|
from homeassistant.loader import bind_hass
|
||||||
|
|
||||||
REQUIREMENTS = ['home-assistant-frontend==20171104.0']
|
REQUIREMENTS = ['home-assistant-frontend==20171105.0']
|
||||||
|
|
||||||
DOMAIN = 'frontend'
|
DOMAIN = 'frontend'
|
||||||
DEPENDENCIES = ['api', 'websocket_api']
|
DEPENDENCIES = ['api', 'websocket_api']
|
||||||
|
|
|
@ -108,6 +108,9 @@ class TradfriGroup(Light):
|
||||||
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10
|
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10
|
||||||
|
|
||||||
if ATTR_BRIGHTNESS in kwargs:
|
if ATTR_BRIGHTNESS in kwargs:
|
||||||
|
if kwargs[ATTR_BRIGHTNESS] == 255:
|
||||||
|
kwargs[ATTR_BRIGHTNESS] = 254
|
||||||
|
|
||||||
self.hass.async_add_job(self._api(
|
self.hass.async_add_job(self._api(
|
||||||
self._group.set_dimmer(kwargs[ATTR_BRIGHTNESS], **keys)))
|
self._group.set_dimmer(kwargs[ATTR_BRIGHTNESS], **keys)))
|
||||||
else:
|
else:
|
||||||
|
@ -264,6 +267,9 @@ class TradfriLight(Light):
|
||||||
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10
|
keys['transition_time'] = int(kwargs[ATTR_TRANSITION]) * 10
|
||||||
|
|
||||||
if ATTR_BRIGHTNESS in kwargs:
|
if ATTR_BRIGHTNESS in kwargs:
|
||||||
|
if kwargs[ATTR_BRIGHTNESS] == 255:
|
||||||
|
kwargs[ATTR_BRIGHTNESS] = 254
|
||||||
|
|
||||||
self.hass.async_add_job(self._api(
|
self.hass.async_add_job(self._api(
|
||||||
self._light_control.set_dimmer(kwargs[ATTR_BRIGHTNESS],
|
self._light_control.set_dimmer(kwargs[ATTR_BRIGHTNESS],
|
||||||
**keys)))
|
**keys)))
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"""Constants used by Home Assistant components."""
|
"""Constants used by Home Assistant components."""
|
||||||
MAJOR_VERSION = 0
|
MAJOR_VERSION = 0
|
||||||
MINOR_VERSION = 57
|
MINOR_VERSION = 57
|
||||||
PATCH_VERSION = '1'
|
PATCH_VERSION = '2'
|
||||||
__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, 4, 2)
|
REQUIRED_PYTHON_VER = (3, 4, 2)
|
||||||
|
|
|
@ -330,7 +330,7 @@ hipnotify==1.0.8
|
||||||
holidays==0.8.1
|
holidays==0.8.1
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20171104.0
|
home-assistant-frontend==20171105.0
|
||||||
|
|
||||||
# homeassistant.components.camera.onvif
|
# homeassistant.components.camera.onvif
|
||||||
http://github.com/tgaugry/suds-passworddigest-py3/archive/86fc50e39b4d2b8997481967d6a7fe1c57118999.zip#suds-passworddigest-py3==0.1.2a
|
http://github.com/tgaugry/suds-passworddigest-py3/archive/86fc50e39b4d2b8997481967d6a7fe1c57118999.zip#suds-passworddigest-py3==0.1.2a
|
||||||
|
|
|
@ -74,7 +74,7 @@ hbmqtt==0.8
|
||||||
holidays==0.8.1
|
holidays==0.8.1
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20171104.0
|
home-assistant-frontend==20171105.0
|
||||||
|
|
||||||
# homeassistant.components.influxdb
|
# homeassistant.components.influxdb
|
||||||
# homeassistant.components.sensor.influxdb
|
# homeassistant.components.sensor.influxdb
|
||||||
|
|
Loading…
Add table
Reference in a new issue