Capability

Capability as returned by HomeyAPIV2.ManagerDevices.

Extends

Instance Properties

chartType

chartType: string

Type

  • string

decimals

decimals: number

Type

  • number

desc

desc: string

Type

  • string

getable

getable: boolean

Type

  • boolean

homey

homey: HomeyAPIV3

The Homey of the Item.

Type

id

id: string

Type

  • string

manager

manager: HomeyAPIV3.Manager

The Manager of the Item.

Type

max

max: number

Type

  • number

min

min: number

Type

  • number

setable

setable: boolean

Type

  • boolean

step

step: number

Type

  • number

title

title: string

Type

  • string

type

type: string

Type

  • string

units

units: string

Type

  • string

uri

uri: string

Type

  • string

values

values: array

Type

  • array

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
capability
object