Updated docstrings (#7383)

* Updated docstrings

* Updated docstrings

* Updated docstrings

* Update docstrings

* Update more docstrings
This commit is contained in:
Alok Saboo 2017-04-30 23:10:08 -04:00 committed by Paulus Schoutsen
parent 6aac53399d
commit 86cfc2a0ed
35 changed files with 56 additions and 56 deletions

View file

@ -26,7 +26,7 @@ SUPPORT_WEMO = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR_TEMP | SUPPORT_RGB_COLOR |
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup WeMo bridges and register connected lights."""
"""Set up WeMo bridges and register connected lights."""
import pywemo.discovery as discovery
if discovery_info is not None:
@ -39,7 +39,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
def setup_bridge(bridge, add_devices):
"""Setup a WeMo link."""
"""Set up a WeMo link."""
lights = {}
@util.Throttle(MIN_TIME_BETWEEN_SCANS, MIN_TIME_BETWEEN_FORCED_SCANS)
@ -97,7 +97,7 @@ class WemoLight(Light):
@property
def is_on(self):
"""True if device is on."""
"""Set True if device is on."""
return self.device.state['onoff'] != 0
@property