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:
parent
e22e70a01a
commit
3ee4d1060f
264 changed files with 1686 additions and 1768 deletions
|
@ -1,4 +1,4 @@
|
|||
"""Exceptions used by Home Assistant."""
|
||||
"""The exceptions used by Home Assistant."""
|
||||
|
||||
|
||||
class HomeAssistantError(Exception):
|
||||
|
@ -23,6 +23,6 @@ class TemplateError(HomeAssistantError):
|
|||
"""Error during template rendering."""
|
||||
|
||||
def __init__(self, exception):
|
||||
"""Initalize the error."""
|
||||
"""Init the error."""
|
||||
super().__init__('{}: {}'.format(exception.__class__.__name__,
|
||||
exception))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue