diff --git a/homeassistant/components/amazon_polly/manifest.json b/homeassistant/components/amazon_polly/manifest.json index bdf04901155..6b8a1894f50 100644 --- a/homeassistant/components/amazon_polly/manifest.json +++ b/homeassistant/components/amazon_polly/manifest.json @@ -2,6 +2,6 @@ "domain": "amazon_polly", "name": "Amazon Polly", "documentation": "https://www.home-assistant.io/integrations/amazon_polly", - "requirements": ["boto3==1.9.252"], + "requirements": ["boto3==1.16.52"], "codeowners": [] } diff --git a/homeassistant/components/aws/manifest.json b/homeassistant/components/aws/manifest.json index bd9c76cc397..a1a307dda94 100644 --- a/homeassistant/components/aws/manifest.json +++ b/homeassistant/components/aws/manifest.json @@ -2,6 +2,6 @@ "domain": "aws", "name": "Amazon Web Services (AWS)", "documentation": "https://www.home-assistant.io/integrations/aws", - "requirements": ["aiobotocore==0.11.1"], + "requirements": ["aiobotocore==1.2.2"], "codeowners": [] } diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index f487bc7aab3..c9d6ca2faa7 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -28,10 +28,7 @@ _LOGGER = logging.getLogger(__name__) async def get_available_regions(hass, service): """Get available regions for a service.""" session = aiobotocore.get_session() - # get_available_regions is not a coroutine since it does not perform - # network I/O. But it still perform file I/O heavily, so put it into - # an executor thread to unblock event loop - return await hass.async_add_executor_job(session.get_available_regions, service) + return await session.get_available_regions(service) async def async_get_service(hass, config, discovery_info=None): diff --git a/homeassistant/components/route53/manifest.json b/homeassistant/components/route53/manifest.json index 4879f12a3be..61fb7d34ced 100644 --- a/homeassistant/components/route53/manifest.json +++ b/homeassistant/components/route53/manifest.json @@ -2,6 +2,6 @@ "domain": "route53", "name": "AWS Route53", "documentation": "https://www.home-assistant.io/integrations/route53", - "requirements": ["boto3==1.9.252"], + "requirements": ["boto3==1.16.52"], "codeowners": [] } diff --git a/requirements_all.txt b/requirements_all.txt index db48351aa52..5fdfc887c2e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -144,7 +144,7 @@ aioasuswrt==1.3.1 aioazuredevops==1.3.5 # homeassistant.components.aws -aiobotocore==0.11.1 +aiobotocore==1.2.2 # homeassistant.components.dhcp aiodiscover==1.3.3 @@ -381,7 +381,7 @@ bond-api==0.1.12 # homeassistant.components.amazon_polly # homeassistant.components.route53 -boto3==1.9.252 +boto3==1.16.52 # homeassistant.components.braviatv bravia-tv==1.0.8 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 02f9ae3f4b1..2961a4e344a 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -84,7 +84,7 @@ aioasuswrt==1.3.1 aioazuredevops==1.3.5 # homeassistant.components.aws -aiobotocore==0.11.1 +aiobotocore==1.2.2 # homeassistant.components.dhcp aiodiscover==1.3.3