Desperate try to fix travis ci reporting a unused-argument
This commit is contained in:
1 parent
2785c373fb
commit
6437f6f6b4
2 files changed
-2
No files matched your search
@@ -37,7 +37,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
if switch.methods(tellcore_constants.TELLSTICK_DIM):
|
if switch.methods(tellcore_constants.TELLSTICK_DIM):
|
||||||
lights.append(TellstickLight(switch))
|
lights.append(TellstickLight(switch))
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
|
||||||
def _device_event_callback(id_, method, data, cid):
|
def _device_event_callback(id_, method, data, cid):
|
||||||
""" Called from the TelldusCore library to update one device """
|
""" Called from the TelldusCore library to update one device """
|
||||||
for light_device in lights:
|
for light_device in lights:
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
switches.append(
|
switches.append(
|
||||||
TellstickSwitchDevice(switch, signal_repetitions))
|
TellstickSwitchDevice(switch, signal_repetitions))
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
|
||||||
def _device_event_callback(id_, method, data, cid):
|
def _device_event_callback(id_, method, data, cid):
|
||||||
""" Called from the TelldusCore library to update one device """
|
""" Called from the TelldusCore library to update one device """
|
||||||
for switch_device in switches:
|
for switch_device in switches:
|
||||||
|
|||||||
Reference in new issue
Block a user