FlowCardAction

FlowCardAction as returned by HomeyAPIV3Local.ManagerFlow.

Extends

Instance Properties

advanced

advanced: boolean

Type

  • boolean

args

args: array|null

Type

  • array | null

deprecated

deprecated: boolean|null

Type

  • boolean | null

droptoken

droptoken: array|null

Type

  • array | null

duration

duration: boolean

Type

  • boolean

durationMax

durationMax: number|null

Type

  • number | null

durationMin

durationMin: number|null

Type

  • number | null

highlight

highlight: boolean|null

Type

  • boolean | null

hint

hint: string|null

Type

  • string | null

homey

homey: HomeyAPIV3

The Homey of the Item.

Type

id

id: string

Type

  • string

manager

manager: HomeyAPIV3.Manager

The Manager of the Item.

Type

ownerId

ownerId: string

Type

  • string

ownerName

ownerName: string

Type

  • string

ownerUri

ownerUri: string

Type

  • string

title

title: string

Type

  • string

titleFormatted

titleFormatted: string|null

Type

  • string | null

tokens

tokens: array|null

Type

  • array | null

uri

uri: string

The 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.

Events

delete

.on('delete')

update

.on('update')

Parameters

Name Type Description
flowcardaction
object
info
object
newValues
object

An object with only the new values of the flowcardaction

oldValues
object

An object with only the old values of the flowcardaction

changedKeys
Array.<string>

An array of keys of the properties that have changed

}