mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Move imports to top for route53 (#29273)
This commit is contained in:
parent
aa9514b774
commit
96a28e59bc
@ -3,6 +3,8 @@ from datetime import timedelta
|
||||
import logging
|
||||
from typing import List
|
||||
|
||||
import boto3
|
||||
from ipify import exceptions, get_ip
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import CONF_DOMAIN, CONF_TTL, CONF_ZONE
|
||||
@ -72,10 +74,6 @@ def _update_route53(
|
||||
records: List[str],
|
||||
ttl: int,
|
||||
):
|
||||
import boto3
|
||||
from ipify import get_ip
|
||||
from ipify import exceptions
|
||||
|
||||
_LOGGER.debug("Starting update for zone %s", zone)
|
||||
|
||||
client = boto3.client(
|
||||
|
Loading…
x
Reference in New Issue
Block a user