From bb645600896895cb42f118ec6164496a2cc87098 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 17 Feb 2017 17:19:21 +0200 Subject: [PATCH] Zwave: Make different messages for ignores by woraround and device config. (#6061) --- homeassistant/components/zwave/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 482f39eeb0f..7e005ced69a 100755 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -388,7 +388,7 @@ def setup(hass, config): value) if workaround_component and workaround_component != component: if workaround_component == workaround.WORKAROUND_IGNORE: - _LOGGER.info("Ignoring device %s", + _LOGGER.info("Ignoring device %s due to workaround.", "{}.{}".format(component, object_id(value))) continue _LOGGER.debug("Using %s instead of %s", @@ -399,7 +399,8 @@ def setup(hass, config): node_config = hass.data[DATA_DEVICE_CONFIG].get(name) if node_config.get(CONF_IGNORED): - _LOGGER.info("Ignoring device %s", name) + _LOGGER.info( + "Ignoring device %s due to device settings.", name) return polling_intensity = convert(