moved imports to top level (#27496)
This commit is contained in:
1 parent
468e6c30b3
commit
2c8e24eb14
2 files changed
+4
-4
No files matched your search
@@ -3,6 +3,8 @@ import asyncio
|
||||
import logging
|
||||
from collections import OrderedDict
|
||||
|
||||
import aiobotocore
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
@@ -151,7 +153,6 @@ async def async_setup_entry(hass, entry):
|
||||
|
||||
async def _validate_aws_credentials(hass, credential):
|
||||
"""Validate AWS credential config."""
|
||||
import aiobotocore
|
||||
|
||||
aws_config = credential.copy()
|
||||
del aws_config[CONF_NAME]
|
||||
|
||||
Reference in new issue
Block a user