Driver

Driver as returned by HomeyAPIV2.ManagerDrivers.

Extends

Instance Properties

class

class: string

Type

  • string

color

color: string

Type

  • string

connectivity

connectivity: array

Type

  • array

deprecated

deprecated: boolean

Type

  • boolean

homey

homey: HomeyAPIV3

The Homey of the Item.

Type

icon

icon: string

Type

  • string

iconObj

iconObj: object

Type

  • object

id

id: string

Type

  • string

manager

manager: HomeyAPIV3.Manager

The Manager of the Item.

Type

pair

pair: boolean

Type

  • boolean

ready

ready: boolean

Type

  • boolean

repair

repair: boolean

Type

  • boolean

unpair

unpair: boolean

Type

  • boolean

uri

uri: string

Type

  • string

uriObj

uriObj: object

Type

  • object

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