Methods
say(text, opts) → {Promise.<any>}
Let Homey say something. There is a limit of 255 characters.
Requires the
homey:manager:speech
-output permission. For more information about permissions read the Permissions tutorial.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
text |
string
|
The sentence to say |
||||||
opts |
object
|
|
Returns:
- Type:
-
Promise.<any>
Example
this.homey.speechOutput.say('Hello world!')
.then(this.log)
.catch(this.error);