'Request TTS file from Polly.'

def get_tts_audio(self, message, language=None, options=None):

    voice_id = options.get(CONF_VOICE, self.default_voice)
    voice_in_dict = self.all_voices.get(voice_id)
    if (language != voice_in_dict.get('LanguageCode')):
        _LOGGER.error('%s    does    not    support    the    %s    language', voice_id, language)
        return (None, None)
    resp = self.client.synthesize_speech(OutputFormat=self.config[CONF_OUTPUT_FORMAT], SampleRate=self.config[CONF_SAMPLE_RATE], Text=message, TextType=self.config[CONF_TEXT_TYPE], VoiceId=voice_id)
    return (CONTENT_TYPE_EXTENSIONS[resp.get('ContentType')], resp.get('AudioStream').read())
