diff --git a/homeassistant/components/sensor/rest.py b/homeassistant/components/sensor/rest.py index 8afa5b26783..a6b5c518eee 100644 --- a/homeassistant/components/sensor/rest.py +++ b/homeassistant/components/sensor/rest.py @@ -54,7 +54,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): "Add http:// or https:// to your URL") return False except requests.exceptions.ConnectionError: - _LOGGER.error("No route to resource/endpoint: %s", resource) + _LOGGER.error("No route to resource/endpoint: %s", resource) return False if use_get: