Access this instance at HomeyAPIV3Local.flowtoken
.
Extends
- HomeyAPIV3.ManagerFlowToken
Classes
Instance Methods
getFlowToken
(async) getFlowToken(opts): Promise.<HomeyAPIV3Local.ManagerFlowToken.FlowToken>Scopes
homey.flow.readonly
HTTP
GET /api/manager/flowtoken/flowtoken/:id
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
id
|
string | |
|
Returns
getFlowTokenValue
(async) getFlowTokenValue(opts): Promise.<any>Scopes
homey.flow.readonly
HTTP
GET /api/manager/flowtoken/flowtoken/:id/value
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
id
|
string | |
|
Returns
Promise.<any>
getFlowTokens
(async) getFlowTokens(): Promise.<Object.<string, HomeyAPIV3Local.ManagerFlowToken.FlowToken>>Scopes
homey.flow.readonly
HTTP
GET /api/manager/flowtoken/flowtoken
Returns
Promise.<Object.<string, HomeyAPIV3Local.ManagerFlowToken.FlowToken>>
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/flowtoken/state
Returns
Promise.<any>
Events
flowtoken.create
.on('flowtoken.create')Parameters
Name | Type | Description |
---|---|---|
flowtoken
|
HomeyAPIV3Local.ManagerFlowToken.FlowToken |
flowtoken.delete
.on('flowtoken.delete')Parameters
Name | Type | Description |
---|---|---|
flowtoken
|
HomeyAPIV3Local.ManagerFlowToken.FlowToken |
flowtoken.update
.on('flowtoken.update')Parameters
Name | Type | Description |
---|---|---|
flowtoken
|
HomeyAPIV3Local.ManagerFlowToken.FlowToken |