diff --git a/homeassistant/components/knx.py b/homeassistant/components/knx.py index f87d4de0d61..8b43c0f2da9 100644 --- a/homeassistant/components/knx.py +++ b/homeassistant/components/knx.py @@ -3,8 +3,6 @@ Support for KNX components. For more details about this component, please refer to the documentation at https://home-assistant.io/components/knx/ - -(c) 2016 Daniel Matuschek """ import logging diff --git a/homeassistant/components/notify/joaoapps_join.py b/homeassistant/components/notify/joaoapps_join.py index 1958cf5a64a..67ecd493a06 100644 --- a/homeassistant/components/notify/joaoapps_join.py +++ b/homeassistant/components/notify/joaoapps_join.py @@ -2,7 +2,7 @@ Join platform for notify component. For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.Join/ +https://home-assistant.io/components/notify.join/ """ import logging import voluptuous as vol diff --git a/homeassistant/components/switch/flux.py b/homeassistant/components/switch/flux.py index 9a4580d6110..d222ad1764b 100644 --- a/homeassistant/components/switch/flux.py +++ b/homeassistant/components/switch/flux.py @@ -4,7 +4,7 @@ Flux for Home-Assistant. The idea was taken from https://github.com/KpaBap/hue-flux/ For more details about this component, please refer to the documentation at -https://home-assistant.io/components/switch/flux/ +https://home-assistant.io/components/switch.flux/ """ from datetime import time import logging @@ -62,7 +62,7 @@ def set_lights_xy(hass, lights, x_val, y_val, brightness): # pylint: disable=unused-argument def setup_platform(hass, config, add_devices, discovery_info=None): - """Setup the demo switches.""" + """Setup the Flux switches.""" name = config.get(CONF_NAME) lights = config.get(CONF_LIGHTS) start_time = config.get(CONF_START_TIME) @@ -85,7 +85,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): # pylint: disable=too-many-instance-attributes class FluxSwitch(SwitchDevice): - """Flux switch.""" + """Representation of a Flux switch.""" # pylint: disable=too-many-arguments def __init__(self, name, hass, state, lights, start_time, stop_time, diff --git a/homeassistant/components/switch/tplink.py b/homeassistant/components/switch/tplink.py index 6db6c96d17e..a1de3621b9a 100644 --- a/homeassistant/components/switch/tplink.py +++ b/homeassistant/components/switch/tplink.py @@ -1,9 +1,9 @@ -"""Support for TPLink HS100/HS110 smart switch. - -It is able to monitor current switch status, as well as turn on and off -the switch. Will work with both HS100 and HS110 switch models. """ +Support for TPLink HS100/HS110 smart switch. +For more details about this platform, please refer to the documentation at +https://home-assistant.io/components/switch.tplink/ +""" from homeassistant.components.switch import SwitchDevice from homeassistant.const import ( CONF_HOST, CONF_NAME) @@ -13,11 +13,10 @@ DEVICE_DEFAULT_NAME = 'HS100' REQUIREMENTS = ['https://github.com/gadgetreactor/pyHS100/archive/' 'master.zip#pyHS100==0.1.2'] + # pylint: disable=unused-argument - - def setup_platform(hass, config, add_devices_callback, discovery_info=None): - """Setup the TPLink platform in configuration.yaml.""" + """Setup the TPLink switch platform.""" from pyHS100.pyHS100 import SmartPlug host = config.get(CONF_HOST) name = config.get(CONF_NAME, DEVICE_DEFAULT_NAME)