diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index 6c4334e314f..96ffe47f4fc 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -290,8 +290,7 @@ def enable_logging(hass, verbose=False, daemon=False, log_rotate_days=None): } )) except ImportError: - _LOGGER.warning( - "Colorlog package not found, console coloring disabled") + pass # Log errors to a file if we have write access to file or config dir err_log_path = hass.config.path(ERROR_LOG_FILENAME) diff --git a/homeassistant/components/conversation.py b/homeassistant/components/conversation.py index 74ba0648c74..11e018846c2 100644 --- a/homeassistant/components/conversation.py +++ b/homeassistant/components/conversation.py @@ -6,6 +6,7 @@ https://home-assistant.io/components/conversation/ """ import logging import re +import warnings from homeassistant import core from homeassistant.const import ( @@ -24,6 +25,7 @@ REQUIREMENTS = ['fuzzywuzzy==0.8.0'] def setup(hass, config): """Register the process service.""" + warnings.filterwarnings('ignore', module='fuzzywuzzy') from fuzzywuzzy import process as fuzzyExtract logger = logging.getLogger(__name__)