Fix text error when getting getting external IP in route53 (#38100)

This commit is contained in:
Joakim Sørensen
2020-07-24 21:53:49 +02:00
committed by Franck Nijhof
parent 7fe5fee124
commit bf8bfa6321
+1 -1
View File
@@ -84,7 +84,7 @@ def _update_route53(
# Get the IP Address and build an array of changes
try:
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text()
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text
except requests.RequestException:
_LOGGER.warning("Unable to reach the ipify service")