From 11fc521e60a0618323e06bc351c86844286c8019 Mon Sep 17 00:00:00 2001 From: badele Date: Wed, 7 Oct 2015 19:04:03 +0200 Subject: [PATCH] Replace REQUIREMENTS by DEPENDENCIES variable --- homeassistant/components/light/rfxtrx.py | 3 +-- homeassistant/components/rfxtrx.py | 3 +-- homeassistant/components/sensor/rfxtrx.py | 3 +-- homeassistant/components/switch/rfxtrx.py | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/light/rfxtrx.py b/homeassistant/components/light/rfxtrx.py index 7c8bdb7a93a..ceb6fe97f8c 100644 --- a/homeassistant/components/light/rfxtrx.py +++ b/homeassistant/components/light/rfxtrx.py @@ -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__) diff --git a/homeassistant/components/rfxtrx.py b/homeassistant/components/rfxtrx.py index 0c3f377150b..f2b962c7ba9 100644 --- a/homeassistant/components/rfxtrx.py +++ b/homeassistant/components/rfxtrx.py @@ -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' diff --git a/homeassistant/components/sensor/rfxtrx.py b/homeassistant/components/sensor/rfxtrx.py index d0514c93a51..b09d9d4a09c 100644 --- a/homeassistant/components/sensor/rfxtrx.py +++ b/homeassistant/components/sensor/rfxtrx.py @@ -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), diff --git a/homeassistant/components/switch/rfxtrx.py b/homeassistant/components/switch/rfxtrx.py index 7eefc6fb229..29120c7d93c 100644 --- a/homeassistant/components/switch/rfxtrx.py +++ b/homeassistant/components/switch/rfxtrx.py @@ -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__)