Updated docstrings (#7383)

* Updated docstrings

* Updated docstrings

* Updated docstrings

* Update docstrings

* Update more docstrings
This commit is contained in:
Alok Saboo authored and Paulus Schoutsen committed 2017-04-30 20:10:08 -07:00
1 parent 6aac53399d
commit 86cfc2a0ed
35 files changed
+56 -56

No files matched your search

+3 -3
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