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 -3
View File
@@ -155,7 +155,7 @@ def parse_mapping(mapping, parents=None):
def setup(hass: HomeAssistant, base_config):
"""Setup CEC capability."""
"""Set up the CEC capability."""
from pycec.network import HDMINetwork
from pycec.commands import CecCommand, KeyReleaseCommand, KeyPressCommand
from pycec.const import KEY_VOLUME_UP, KEY_VOLUME_DOWN, KEY_MUTE_ON, \
@@ -283,9 +283,9 @@ def setup(hass: HomeAssistant, base_config):
def _update(call):
"""
Callback called when device update is needed.
The function called when device update is needed.
- called by service, requests CEC network to update data.
Called by service, requests CEC network to update data.
"""
hdmi_network.scan()