AdvancedFlow as returned by HomeyAPIV2.ManagerFlow.
Extends
Instance Properties
broken
broken: booleanType
- boolean
cards
cards: objectType
- object
enabled
enabled: booleanType
- boolean
folder
folder: string|nullType
- string | null
homey
homey: HomeyAPIV3id
id: stringType
- string
manager
manager: HomeyAPIV3.Managername
name: stringType
- string
triggerable
triggerable: booleanType
- boolean
uri
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 |
---|---|---|
advancedflow
|
object |