Allow generating requirements_all.txt

This commit is contained in:
Paulus Schoutsen committed 2015-11-17 00:21:49 -08:00
1 parent 8be53af78f
commit 377d2c6e5a
17 files changed
+283 -206

No files matched your search

+3 -3
View File
@@ -7,9 +7,6 @@ For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/light.zwave/
"""
# pylint: disable=import-error
from openzwave.network import ZWaveNetwork
from pydispatch import dispatcher
import homeassistant.components.zwave as zwave
from homeassistant.const import STATE_ON, STATE_OFF
@@ -51,6 +48,9 @@ class ZwaveDimmer(Light):
""" Provides a Z-Wave dimmer. """
# pylint: disable=too-many-arguments
def __init__(self, value):
from openzwave.network import ZWaveNetwork
from pydispatch import dispatcher
self._value = value
self._node = value.node