HomeyAPI~ManagerSessions

Methods

async getSessions(optsopt) → {Object.<string, HomeyAPI.ManagerSessions.Session>}

Required OAuth scopes:
- homey.user.readonly

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Attributes Description
filter HomeyAPI.ManagerSessions.Session <optional>
A response filter (Using a filter will bypass all caches, use sparingely)
Returns:
Object.<string, HomeyAPI.ManagerSessions.Session> - Successful response

async getSessionMe(optsopt) → {HomeyAPI.ManagerSessions.Session}

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Returns:
HomeyAPI.ManagerSessions.Session - Successful response

async deleteSession(optsopt)

Required OAuth scopes:
- homey.user.readonly

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Description
id string

Classes

Error

Session