mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Desperate try to fix travis ci reporting a unused-argument
This commit is contained in:
parent
2785c373fb
commit
6437f6f6b4
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user