Reolink remove unneeded str() (#100718)

This commit is contained in:
starkillerOG 2023-09-22 14:20:34 +02:00 committed by GitHub
parent 4c65c92fb0
commit 8474c25cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -122,7 +122,7 @@ class ReolinkFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
"Reolink DHCP reported new IP '%s', "
"but got error '%s' trying to connect, so sticking to IP '%s'",
discovery_info.ip,
str(err),
err,
existing_entry.data[CONF_HOST],
)
raise AbortFlow("already_configured") from err