Docstrings (#2502)

* Update docstrings

* Update docstrings

* Add link to docs
This commit is contained in:
Fabian Affolter authored and GitHub committed 2016-07-12 16:46:29 +02:00
1 parent 45a8b74d7f
commit bef2f87ddc
6 files changed
+14 -13

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ LIGHT_TEMPS = [240, 380]
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
"""Setup demo light platform."""
"""Setup the demo light platform."""
add_devices_callback([
DemoLight("Bed Light", False),
DemoLight("Ceiling Lights", True, LIGHT_COLORS[0], LIGHT_TEMPS[1]),
@@ -27,7 +27,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
class DemoLight(Light):
"""Provide a demo light."""
"""Represenation of a demo light."""
# pylint: disable=too-many-arguments
def __init__(self, name, state, rgb=None, ct=None, brightness=180):