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

+3 -2
View File
@@ -56,7 +56,7 @@ VERA_COMPONENTS = [
# pylint: disable=unused-argument, too-many-function-args
def setup(hass, base_config):
"""Common setup for Vera devices."""
"""Set up for Vera devices."""
global VERA_CONTROLLER
import pyvera as veraApi
@@ -102,7 +102,7 @@ def setup(hass, base_config):
# pylint: disable=too-many-return-statements
def map_vera_device(vera_device, remap):
"""Map vera classes to HA types."""
"""Map vera classes to Home Assistant types."""
import pyvera as veraApi
if isinstance(vera_device, veraApi.VeraDimmer):
return 'light'
@@ -145,6 +145,7 @@ class VeraDevice(Entity):
self.update()
def _update_callback(self, _device):
"""Update the state."""
self.update()
self.schedule_update_ha_state()