mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Include resource in error message
This commit is contained in:
parent
73cb23f599
commit
f8590f7d1d
@ -28,8 +28,9 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
"Add http:// to your URL.")
|
"Add http:// to your URL.")
|
||||||
return False
|
return False
|
||||||
except requests.exceptions.ConnectionError:
|
except requests.exceptions.ConnectionError:
|
||||||
_LOGGER.error("No route to device. "
|
_LOGGER.error("No route to device at %s. "
|
||||||
"Please check the IP address in the configuration file.")
|
"Please check the IP address in the configuration file.",
|
||||||
|
resource)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
dev = []
|
dev = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user