-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Objective | ||
|
||
- say_tts will say a message on any text to speech device | ||
|
||
## Function | ||
|
||
### say_tts | ||
```yaml | ||
- spec: | ||
name: say_tts | ||
description: Say message on a text to speech device | ||
parameters: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
description: message you want to say | ||
device: | ||
type: string | ||
description: entity_id of media_player tts device | ||
required: | ||
- message | ||
- device | ||
function: | ||
type: script | ||
sequence: | ||
- service: tts.cloud_say | ||
data: | ||
entity_id: "{{device}}" | ||
message: "{{message}}" | ||
``` |