pylint & flake cleanup

This commit is contained in:
Tom Duijf 2015-10-27 22:49:45 +00:00
parent e4d33bc6d4
commit 805aecd6f9

View file

@ -30,6 +30,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
class DemoLight(Light):
""" Provides a demo switch. """
# pylint: disable=too-many-arguments
def __init__(self, name, state, xy=None, ct=None, brightness=180):
self._name = name
self._state = state