HomeyAPI~ManagerSessions

Methods

async getSessions(optsopt) → {Promise.<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:
Promise.<Object.<string, HomeyAPI.ManagerSessions.Session>> - Successful response

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

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

async deleteSession(optsopt) → {Promise.<void>}

Required OAuth scopes:
- homey.user.readonly

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Description
id string
Returns:
Promise.<void> - Successful response

Classes

Error

Session