mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
pylint & flake cleanup
This commit is contained in:
parent
e4d33bc6d4
commit
805aecd6f9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user