Update docstrings (#7361)

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
This commit is contained in:
Fabian Affolter
2017-04-30 07:04:49 +02:00
committed by Paulus Schoutsen
parent e22e70a01a
commit 3ee4d1060f
264 changed files with 1686 additions and 1768 deletions

View File

@@ -32,7 +32,7 @@ CONFIG_SCHEMA = vol.Schema({
def setup(hass, config):
"""Setup LIRC capability."""
"""Set up the LIRC capability."""
import lirc
# blocking=True gives unexpected behavior (multiple responses for 1 press)
@@ -70,7 +70,7 @@ class LircInterface(threading.Thread):
self.hass = hass
def run(self):
"""Main loop of LIRC interface thread."""
"""Run the loop of the LIRC interface thread."""
import lirc
_LOGGER.debug("LIRC interface thread started")
while not self.stopped.isSet():