Allow generating requirements_all.txt
This commit is contained in:
1 parent
8be53af78f
commit
377d2c6e5a
17 files changed
+283
-206
No files matched your search
@@ -8,7 +8,6 @@ https://home-assistant.io/components/light.rfxtrx/
|
||||
"""
|
||||
import logging
|
||||
import homeassistant.components.rfxtrx as rfxtrx
|
||||
import RFXtrx as rfxtrxmod
|
||||
|
||||
from homeassistant.components.light import Light
|
||||
from homeassistant.util import slugify
|
||||
@@ -20,6 +19,8 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
""" Setup the RFXtrx platform. """
|
||||
import RFXtrx as rfxtrxmod
|
||||
|
||||
lights = []
|
||||
devices = config.get('devices', None)
|
||||
if devices:
|
||||
|
||||
Reference in new issue
Block a user