mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix text error when getting getting external IP in route53 (#38100)
This commit is contained in:
parent
6e2025a748
commit
f742875e0d
@ -84,7 +84,7 @@ def _update_route53(
|
|||||||
|
|
||||||
# Get the IP Address and build an array of changes
|
# Get the IP Address and build an array of changes
|
||||||
try:
|
try:
|
||||||
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text()
|
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text
|
||||||
|
|
||||||
except requests.RequestException:
|
except requests.RequestException:
|
||||||
_LOGGER.warning("Unable to reach the ipify service")
|
_LOGGER.warning("Unable to reach the ipify service")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user