Variable

Variable as returned by HomeyAPIV3Local.ManagerLogic.

Instance Properties

id

id: string

Type

  • string

name

name: string

Type

  • string

type

type: string

Type

  • string

value

value: string|number|boolean

Type

  • string | number | boolean

Events

delete

.on('delete')

update

.on('update')

Parameters

Name Type Description
variable
object
info
object
newValues
object

An object with only the new values of the variable

oldValues
object

An object with only the old values of the variable

changedKeys
Array.<string>

An array of keys of the properties that have changed

}