Access this instance at HomeyAPIV3Local.sessions.
Extends
- HomeyAPIV3.ManagerSessions
Classes
Instance Methods
getSessionMe
(async) getSessionMe(): Promise.<any>Scopes
-
HTTP
GET /api/manager/sessions/session/me
Returns
Promise.<any>
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/sessions/state
Returns
Promise.<any>
Events
session.create
.on('session.create')Parameters
| Name | Type | Description |
|---|---|---|
session
|
HomeyAPIV3Local.ManagerSessions.Session |
session.delete
.on('session.delete')Parameters
| Name | Type | Description |
|---|---|---|
session
|
HomeyAPIV3Local.ManagerSessions.Session |
session.update
.on('session.update')Parameters
| Name | Type | Description |
|---|---|---|
session
|
HomeyAPIV3Local.ManagerSessions.Session | |
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 |
|
|