Replace REQUIREMENTS by DEPENDENCIES variable

This commit is contained in:
badele 2015-10-07 19:04:03 +02:00
parent 32f1791c5a
commit 11fc521e60
4 changed files with 4 additions and 8 deletions

View file

@ -29,8 +29,7 @@ import RFXtrx as rfxtrxmod
from homeassistant.components.light import Light
from homeassistant.util import slugify
REQUIREMENTS = ['https://github.com/Danielhiversen/pyRFXtrx/archive/' +
'ec7a1aaddf8270db6e5da1c13d58c1547effd7cf.zip#RFXtrx==0.15']
DEPENDENCIES = ['rfxtrx']
DOMAIN = "rfxtrx"
_LOGGER = logging.getLogger(__name__)

View file

@ -20,8 +20,7 @@ import logging
from homeassistant.util import slugify
DEPENDENCIES = []
REQUIREMENTS = ['https://github.com/Danielhiversen/pyRFXtrx/archive/' +
'ec7a1aaddf8270db6e5da1c13d58c1547effd7cf.zip#RFXtrx==0.15']
REQUIREMENTS = ['https://github.com/Danielhiversen/pyRFXtrx/archive/0.2.zip#RFXtrx==0.2']
DOMAIN = "rfxtrx"
CONF_DEVICE = 'device'

View file

@ -28,8 +28,7 @@ import homeassistant.components.rfxtrx as rfxtrx
from RFXtrx import SensorEvent
from homeassistant.util import slugify
REQUIREMENTS = ['https://github.com/Danielhiversen/pyRFXtrx/archive/' +
'ec7a1aaddf8270db6e5da1c13d58c1547effd7cf.zip#RFXtrx==0.15']
DEPENDENCIES = ['rfxtrx']
DATA_TYPES = OrderedDict([
('Temperature', TEMP_CELCIUS),

View file

@ -29,8 +29,7 @@ from RFXtrx import LightingDevice
from homeassistant.components.switch import SwitchDevice
from homeassistant.util import slugify
REQUIREMENTS = ['https://github.com/Danielhiversen/pyRFXtrx/archive/' +
'ec7a1aaddf8270db6e5da1c13d58c1547effd7cf.zip#RFXtrx==0.15']
DEPENDENCIES = ['rfxtrx']
DOMAIN = "rfxtrx"
_LOGGER = logging.getLogger(__name__)