Merge pull request #420 from stefan-jonasson/dev

Fixed Pylint issue
This commit is contained in:
Stefan Jonasson 2015-09-21 13:03:16 +02:00
commit f8175adbdc
2 changed files with 1 additions and 2 deletions

View file

@ -12,6 +12,7 @@ from tellcore.library import DirectCallbackDispatcher
REQUIREMENTS = ['tellcore-py==1.0.4']
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
""" Find and return Tellstick lights. """
@ -36,7 +37,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
if switch.methods(tellcore_constants.TELLSTICK_DIM):
lights.append(TellstickLight(switch))
# pylint: disable=unused-argument
def _device_event_callback(id_, method, data, cid):
""" Called from the TelldusCore library to update one device """
for light_device in lights:

View file

@ -48,7 +48,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
switches.append(
TellstickSwitchDevice(switch, signal_repetitions))
# pylint: disable=unused-argument
def _device_event_callback(id_, method, data, cid):
""" Called from the TelldusCore library to update one device """
for switch_device in switches: