Minor changes (#2784)

* Update link to docs

* Use fast.com

* Update docstring

* Add link to docs

* Add link to docs

* Update docstrings

* Update docstrings

* Fix typo
This commit is contained in:
Fabian Affolter 2016-08-11 11:14:24 +02:00 committed by GitHub
parent e926426af9
commit a784f48022
9 changed files with 18 additions and 16 deletions

View file

@ -56,7 +56,7 @@ PLATFORM_SCHEMA = vol.Schema({
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
"""Add MQTT JSON Light."""
"""Setup a MQTT JSON Light."""
add_devices_callback([MqttJson(
hass,
config[CONF_NAME],
@ -81,7 +81,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
class MqttJson(Light):
"""MQTT JSON light."""
"""Representation of a MQTT JSON light."""
# pylint: disable=too-many-arguments,too-many-instance-attributes
def __init__(self, hass, name, topic, qos, retain,