From 4a0ec36feac4f20089b0e1f598f7e446acffc1cc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 18 Dec 2015 13:47:13 +0100 Subject: [PATCH] Update error message --- homeassistant/components/binary_sensor/rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/binary_sensor/rest.py b/homeassistant/components/binary_sensor/rest.py index e61bc254de4..327aa4bbcfc 100644 --- a/homeassistant/components/binary_sensor/rest.py +++ b/homeassistant/components/binary_sensor/rest.py @@ -54,8 +54,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None): 'Add http:// to your URL.') return False except requests.exceptions.ConnectionError: - _LOGGER.error('No route to resource/endpoint. ' - 'Please check the URL in the configuration file.') + _LOGGER.error('No route to resource/endpoint: %s', + resource) return False if use_get: