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. """