Replace REQUIREMENTS by DEPENDENCIES variable
This commit is contained in:
parent
32f1791c5a
commit
11fc521e60
4 changed files with 4 additions and 8 deletions
|
@ -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__)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue