2017-10-30 20:39:12 +00:00
|
|
|
# Describes the format for available TTS services
|
|
|
|
|
2016-12-13 07:23:08 +00:00
|
|
|
say:
|
2021-04-26 12:51:28 +00:00
|
|
|
name: Say a TTS message
|
2021-02-23 13:29:57 +00:00
|
|
|
description: Say something using text-to-speech on a media player.
|
2016-12-13 07:23:08 +00:00
|
|
|
fields:
|
|
|
|
entity_id:
|
2021-02-23 13:29:57 +00:00
|
|
|
name: Entity
|
2016-12-21 09:22:12 +00:00
|
|
|
description: Name(s) of media player entities.
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "media_player.floor"
|
2021-02-23 13:29:57 +00:00
|
|
|
required: true
|
|
|
|
selector:
|
|
|
|
entity:
|
|
|
|
domain: media_player
|
2016-12-13 07:23:08 +00:00
|
|
|
message:
|
2021-02-23 13:29:57 +00:00
|
|
|
name: Message
|
2016-12-21 09:22:12 +00:00
|
|
|
description: Text to speak on devices.
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "My name is hanna"
|
2021-02-23 13:29:57 +00:00
|
|
|
required: true
|
|
|
|
selector:
|
|
|
|
text:
|
2016-12-21 09:22:12 +00:00
|
|
|
cache:
|
2021-02-23 13:29:57 +00:00
|
|
|
name: Cache
|
2016-12-21 09:22:12 +00:00
|
|
|
description: Control file cache of this message.
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "true"
|
2021-02-23 13:29:57 +00:00
|
|
|
default: false
|
|
|
|
selector:
|
|
|
|
boolean:
|
2016-12-27 16:01:22 +00:00
|
|
|
language:
|
2021-02-23 13:29:57 +00:00
|
|
|
name: Language
|
2016-12-27 16:01:22 +00:00
|
|
|
description: Language to use for speech generation.
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "ru"
|
2021-02-23 13:29:57 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2017-01-26 22:22:47 +00:00
|
|
|
options:
|
2021-04-26 12:51:28 +00:00
|
|
|
name: Options
|
2021-02-23 13:29:57 +00:00
|
|
|
description:
|
|
|
|
A dictionary containing platform-specific options. Optional depending on
|
|
|
|
the platform.
|
2021-04-26 12:51:28 +00:00
|
|
|
advanced: true
|
2017-01-26 22:22:47 +00:00
|
|
|
example: platform specific
|
2021-04-26 12:51:28 +00:00
|
|
|
selector:
|
|
|
|
object:
|
2016-12-27 16:01:22 +00:00
|
|
|
|
2016-12-13 07:23:08 +00:00
|
|
|
clear_cache:
|
2021-02-23 13:29:57 +00:00
|
|
|
name: Clear TTS cache
|
|
|
|
description: Remove all text-to-speech cache files and RAM cache.
|