diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index f060c9f353a..2ec9a2ab801 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -29,7 +29,7 @@ from homeassistant.helpers import config_per_platform import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform -REQUIREMENTS = ['mutagen==1.41.0'] +REQUIREMENTS = ['mutagen==1.41.1'] _LOGGER = logging.getLogger(__name__) @@ -69,8 +69,8 @@ PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA.extend({ SCHEMA_SERVICE_SAY = vol.Schema({ vol.Required(ATTR_MESSAGE): cv.string, - vol.Optional(ATTR_ENTITY_ID): cv.entity_ids, vol.Optional(ATTR_CACHE): cv.boolean, + vol.Optional(ATTR_ENTITY_ID): cv.entity_ids, vol.Optional(ATTR_LANGUAGE): cv.string, vol.Optional(ATTR_OPTIONS): dict, }) @@ -117,7 +117,7 @@ async def async_setup(hass, config): tts.async_register_engine(p_type, provider, p_config) except Exception: # pylint: disable=broad-except - _LOGGER.exception("Error setting up platform %s", p_type) + _LOGGER.exception("Error setting up platform: %s", p_type) return async def async_say_handle(service): @@ -134,7 +134,7 @@ async def async_setup(hass, config): options=options ) except HomeAssistantError as err: - _LOGGER.error("Error on init tts: %s", err) + _LOGGER.error("Error on init TTS: %s", err) return data = { @@ -302,8 +302,8 @@ class SpeechManager: return "{}/api/tts_proxy/{}".format( self.hass.config.api.base_url, filename) - async def async_get_tts_audio(self, engine, key, message, cache, language, - options): + async def async_get_tts_audio( + self, engine, key, message, cache, language, options): """Receive TTS and store for view in cache. This method is a coroutine. diff --git a/requirements_all.txt b/requirements_all.txt index 49fc3b42466..64a9d6bc133 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -585,7 +585,7 @@ mitemp_bt==0.0.1 motorparts==1.0.2 # homeassistant.components.tts -mutagen==1.41.0 +mutagen==1.41.1 # homeassistant.components.mychevy mychevy==0.4.0