Flow as returned by HomeyAPIV3Local.ManagerFlow.
Extends
Instance Properties
homey
homey: HomeyAPIV3id
id: stringThe ID of the Item.
Type
- string
manager
manager: HomeyAPIV3.Manageruri
uri: stringThe URI of the Item, e.g. homey:foo:bar
.
Type
- string
Instance Methods
connect
(async) connect()Connect to this item's Socket.io namespace.
disconnect
(async) disconnect()Discconnect from this item's Socket.io namespace.
isBroken
(async) isBroken()Check whether this Flow misses one or more FlowCard or FlowToken.
Returns
Promise
Events
delete
.on('delete')update
.on('update')Parameters
Name | Type | Description |
---|---|---|
flow
|
object |