Moved python-wink requirement to PyPI
This commit is contained in:
parent
f6d16ba118
commit
eb6b4218fc
5 changed files with 5 additions and 15 deletions
|
@ -12,9 +12,7 @@ from homeassistant.components.light import ATTR_BRIGHTNESS
|
||||||
from homeassistant.components.wink import WinkToggleDevice
|
from homeassistant.components.wink import WinkToggleDevice
|
||||||
from homeassistant.const import CONF_ACCESS_TOKEN
|
from homeassistant.const import CONF_ACCESS_TOKEN
|
||||||
|
|
||||||
REQUIREMENTS = ['https://github.com/bradsk88/python-wink/archive/'
|
REQUIREMENTS = ['python-wink==0.3.1']
|
||||||
'd3fcce7528bd031a2c05363a108628acc4eb03aa.zip'
|
|
||||||
'#python-wink==0.3.1']
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||||
""" Find and return Wink lights. """
|
""" Find and return Wink lights. """
|
||||||
|
|
|
@ -11,9 +11,7 @@ import logging
|
||||||
from homeassistant.components.lock import LockDevice
|
from homeassistant.components.lock import LockDevice
|
||||||
from homeassistant.const import CONF_ACCESS_TOKEN
|
from homeassistant.const import CONF_ACCESS_TOKEN
|
||||||
|
|
||||||
REQUIREMENTS = ['https://github.com/bradsk88/python-wink/archive/'
|
REQUIREMENTS = ['python-wink==0.3.1']
|
||||||
'd3fcce7528bd031a2c05363a108628acc4eb03aa.zip'
|
|
||||||
'#python-wink==0.3.1']
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
""" Sets up the Wink platform. """
|
""" Sets up the Wink platform. """
|
||||||
|
|
|
@ -11,9 +11,7 @@ import logging
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.const import CONF_ACCESS_TOKEN, STATE_OPEN, STATE_CLOSED
|
from homeassistant.const import CONF_ACCESS_TOKEN, STATE_OPEN, STATE_CLOSED
|
||||||
|
|
||||||
REQUIREMENTS = ['https://github.com/bradsk88/python-wink/archive/'
|
REQUIREMENTS = ['python-wink==0.3.1']
|
||||||
'd3fcce7528bd031a2c05363a108628acc4eb03aa.zip'
|
|
||||||
'#python-wink==0.3.1']
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
""" Sets up the Wink platform. """
|
""" Sets up the Wink platform. """
|
||||||
|
|
|
@ -11,9 +11,7 @@ import logging
|
||||||
from homeassistant.components.wink import WinkToggleDevice
|
from homeassistant.components.wink import WinkToggleDevice
|
||||||
from homeassistant.const import CONF_ACCESS_TOKEN
|
from homeassistant.const import CONF_ACCESS_TOKEN
|
||||||
|
|
||||||
REQUIREMENTS = ['https://github.com/bradsk88/python-wink/archive/'
|
REQUIREMENTS = ['python-wink==0.3.1']
|
||||||
'd3fcce7528bd031a2c05363a108628acc4eb03aa.zip'
|
|
||||||
'#python-wink==0.3.1']
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
""" Sets up the Wink platform. """
|
""" Sets up the Wink platform. """
|
||||||
|
|
|
@ -16,9 +16,7 @@ from homeassistant.const import (
|
||||||
ATTR_SERVICE, ATTR_DISCOVERED, ATTR_FRIENDLY_NAME)
|
ATTR_SERVICE, ATTR_DISCOVERED, ATTR_FRIENDLY_NAME)
|
||||||
|
|
||||||
DOMAIN = "wink"
|
DOMAIN = "wink"
|
||||||
REQUIREMENTS = ['https://github.com/bradsk88/python-wink/archive/'
|
REQUIREMENTS = ['python-wink==0.3.1']
|
||||||
'd3fcce7528bd031a2c05363a108628acc4eb03aa.zip'
|
|
||||||
'#python-wink==0.3.1']
|
|
||||||
|
|
||||||
DISCOVER_LIGHTS = "wink.lights"
|
DISCOVER_LIGHTS = "wink.lights"
|
||||||
DISCOVER_SWITCHES = "wink.switches"
|
DISCOVER_SWITCHES = "wink.switches"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue