PairSession

PairSession as returned by HomeyAPIV2.ManagerDrivers.

Extends

Instance Properties

deviceId

deviceId: string

Type

  • string

driverId

driverId: string

Type

  • string

driverUri

driverUri: string

Type

  • string

homey

homey: HomeyAPIV3

The Homey of the Item.

Type

id

id: string

Type

  • string

manager

manager: HomeyAPIV3.Manager

The Manager of the Item.

Type

type

type: string

Type

  • string

uri

uri: string

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

Type

  • string

views

views: array

Type

  • array

zoneId

zoneId: string

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