From 6e6c3c5cd56cd3a75f054b52db0b8b2c57410a82 Mon Sep 17 00:00:00 2001 From: pavoni Date: Wed, 3 Feb 2016 14:30:58 +0000 Subject: [PATCH] Tidy. --- homeassistant/components/switch/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/template.py b/homeassistant/components/switch/template.py index 53b4e36055c..9e231de0299 100644 --- a/homeassistant/components/switch/template.py +++ b/homeassistant/components/switch/template.py @@ -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. """