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:
1 parent
e22e70a01a
commit
3ee4d1060f
264 files changed
+1686
-1768
No files matched your search
@@ -62,7 +62,7 @@ class HomeAssistantLogFilter(logging.Filter):
|
||||
self.logfilter = logfilter
|
||||
|
||||
def filter(self, record):
|
||||
"""A filter to use."""
|
||||
"""The filter to use."""
|
||||
# Log with filtered severity
|
||||
if LOGGER_LOGS in self.logfilter:
|
||||
for filtername in self.logfilter[LOGGER_LOGS]:
|
||||
@@ -77,7 +77,7 @@ class HomeAssistantLogFilter(logging.Filter):
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_setup(hass, config):
|
||||
"""Setup the logger component."""
|
||||
"""Set up the logger component."""
|
||||
logfilter = {}
|
||||
|
||||
# Set default log severity
|
||||
|
||||
Reference in new issue
Block a user