Session

Session as returned by HomeyAPIV2.ManagerSessions.

Extends

Instance Properties

agent

agent: string

Type

  • string

clientName

clientName: string

Type

  • string

createdAt

createdAt: string

Type

  • string

expiresAt

expiresAt: string

Type

  • string

id

id: string

Type

  • string

intersectedScopes

intersectedScopes: array

Type

  • array

lastUsed

lastUsed: boolean

Type

  • boolean

scopes

scopes: array

Type

  • array

type

type: string

Type

  • string

Events

delete

.on('delete')

update

.on('update')

Parameters

Name Type Description
session
object
info
object
newValues
object

An object with only the new values of the session

oldValues
object

An object with only the old values of the session

changedKeys
Array.<string>

An array of keys of the properties that have changed

}