mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 11:01:39 +02:00
pylint & flake cleanup
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user