HomeyAPI~ManagerLedring

Methods

async getScreensavers(optsopt)

Required OAuth scopes:
- homey.system.readonly

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

async getState(optsopt) → {object}

Gets this manager's state

Required OAuth scopes:
- homey.system.readonly

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Returns:
object - The state of this manager

async setOptionBrightness(optsopt)

Required OAuth scopes:
- homey.system

Parameters:
Name Type Attributes Description
opts object <optional>
Named parameters
Properties
Name Type Description
value number

async getOptionBrightness(optsopt)

Required OAuth scopes:
- homey.system.readonly

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

async setOptionScreensaver(optsopt)

Required OAuth scopes:
- homey.system

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

async getOptionScreensaver(optsopt)

Required OAuth scopes:
- homey.system.readonly

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

destroy()

Unsubscribes to realtime events, clear all caches, and remove all event listeners for this manager and it's managed objects

Events

state

Emits when the state of the manager changes
Parameters:
Name Type Description
state object The new state

Classes

Error