Driver

Driver as returned by HomeyAPIV3Local.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

id

id: string

Type

  • string

manager

manager: HomeyAPIV3.Manager

The Manager of the Item.

Type

name

name: string

Type

  • string

ownerIconObj

ownerIconObj: object

Type

  • object

ownerName

ownerName: string

Type

  • string

ownerUri

ownerUri: string

Type

  • string

pair

pair: boolean

Type

  • boolean

ready

ready: boolean

Type

  • boolean

repair

repair: boolean

Type

  • boolean

unpair

unpair: boolean

Type

  • boolean

uri

uri: string

The URI of the Item, e.g. homey:foo:bar.

Type

  • string

userPath

userPath: string|null

Type

  • string | null

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