Bump python-miio requirement (#17260)

This commit is contained in:
Teemu R 2018-10-08 22:33:06 +02:00 committed by Sebastian Muszynski
parent 1393766659
commit 56a43436d7
8 changed files with 8 additions and 8 deletions

View file

@ -20,7 +20,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_TOKEN): vol.All(cv.string, vol.Length(min=32, max=32)),
})
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
def get_scanner(hass, config):

View file

@ -49,7 +49,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
'zhimi.humidifier.ca1']),
})
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
ATTR_MODEL = 'model'

View file

@ -42,7 +42,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
'philips.light.candle2']),
})
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
# The light does not accept cct values < 1
CCT_MIN = 1

View file

@ -22,7 +22,7 @@ from homeassistant.exceptions import PlatformNotReady
import homeassistant.helpers.config_validation as cv
from homeassistant.util.dt import utcnow
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
_LOGGER = logging.getLogger(__name__)

View file

@ -25,7 +25,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
ATTR_POWER = 'power'
ATTR_CHARGING = 'charging'

View file

@ -39,7 +39,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
'chuangmi.plug.v3']),
})
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
ATTR_POWER = 'power'
ATTR_TEMPERATURE = 'temperature'

View file

@ -21,7 +21,7 @@ from homeassistant.const import (
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON)
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['python-miio==0.4.1', 'construct==2.9.41']
REQUIREMENTS = ['python-miio==0.4.2', 'construct==2.9.41']
_LOGGER = logging.getLogger(__name__)

View file

@ -1147,7 +1147,7 @@ python-juicenet==0.0.5
# homeassistant.components.sensor.xiaomi_miio
# homeassistant.components.switch.xiaomi_miio
# homeassistant.components.vacuum.xiaomi_miio
python-miio==0.4.1
python-miio==0.4.2
# homeassistant.components.media_player.mpd
python-mpd2==1.0.0