Fix KeyError in rest (#92464)
This commit is contained in:
parent
9ce062411d
commit
603aa759d3
3 changed files with 7 additions and 2 deletions
|
@ -67,7 +67,7 @@ async def async_setup_platform(
|
|||
if isinstance(rest.last_exception, ssl.SSLError):
|
||||
_LOGGER.error(
|
||||
"Error connecting %s failed with %s",
|
||||
conf[CONF_RESOURCE],
|
||||
rest.url,
|
||||
rest.last_exception,
|
||||
)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue