mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Move AmazonPolly imports (#27443)
This commit is contained in:
committed by
Paulus Schoutsen
parent
652bf54044
commit
17b1ba2e9f
@@ -1,5 +1,6 @@
|
||||
"""Support for the Amazon Polly text to speech service."""
|
||||
import logging
|
||||
import boto3
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
@@ -156,8 +157,6 @@ def get_engine(hass, config):
|
||||
|
||||
config[CONF_SAMPLE_RATE] = sample_rate
|
||||
|
||||
import boto3
|
||||
|
||||
profile = config.get(CONF_PROFILE_NAME)
|
||||
|
||||
if profile is not None:
|
||||
|
Reference in New Issue
Block a user