ManagerFlowToken

Access this instance at HomeyAPIV3Cloud.flowtoken.

Extends

Classes

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getFlowTokens

(async) getFlowTokens(): Promise.<HomeyAPIV3Cloud.ManagerFlowToken.FlowToken>

Scopes

homey.flow.readonly

HTTP

GET /api/manager/flowtoken/flowtoken

Returns

getState

(async) getState(): Promise.<any>

Scopes

homey.system.readonly

HTTP

GET /api/manager/flowtoken/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

Events

flowtoken.create

.on('flowtoken.create')

Parameters

Name Type Description
flowtoken
HomeyAPIV3Cloud.ManagerFlowToken.FlowToken

flowtoken.delete

.on('flowtoken.delete')

Parameters

Name Type Description
flowtoken
HomeyAPIV3Cloud.ManagerFlowToken.FlowToken

flowtoken.update

.on('flowtoken.update')

Parameters

Name Type Description
flowtoken
HomeyAPIV3Cloud.ManagerFlowToken.FlowToken