This commit is contained in:
pavoni 2016-02-03 14:30:58 +00:00
parent 5521096c02
commit 6e6c3c5cd5

View File

@ -41,6 +41,7 @@ OFF_ACTION = 'turn_off'
STATE_TRUE = 'True'
STATE_FALSE = 'False'
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
""" Sets up the switches. """
@ -123,7 +124,6 @@ class SwitchTemplate(SwitchDevice):
self.hass.bus.listen(EVENT_STATE_CHANGED, _update_callback)
@property
def name(self):
""" Returns the name of the device. """