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 authored and Paulus Schoutsen committed 2017-04-29 22:04:49 -07:00
1 parent e22e70a01a
commit 3ee4d1060f
264 files changed
+1686 -1768

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
"""
Exposes regular rest commands as services.
Exposes regular REST commands as services.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/hassio/
@@ -21,11 +21,11 @@ from homeassistant.components.http import HomeAssistantView
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.components.frontend import register_built_in_panel
_LOGGER = logging.getLogger(__name__)
DOMAIN = 'hassio'
DEPENDENCIES = ['http']
_LOGGER = logging.getLogger(__name__)
TIMEOUT = 10
HASSIO_REST_COMMANDS = {
@@ -59,7 +59,7 @@ ADDON_REST_COMMANDS = {
@asyncio.coroutine
def async_setup(hass, config):
"""Setup the hassio component."""
"""Set up the HASSio component."""
try:
host = os.environ['HASSIO']
except KeyError: