mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Tidy.
This commit is contained in:
parent
5521096c02
commit
6e6c3c5cd5
@ -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. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user