HomeyAPI~ManagerBackup

Methods

async scheduleBackup(optsopt)

Required OAuth scopes:
- homey.system

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 setOptionAutomaticBackupsEnabled(optsopt)

Required OAuth scopes:
- homey.system

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

async getOptionAutomaticBackupsEnabled(optsopt)

Required OAuth scopes:
- homey.system

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

async getOptionLastSuccessfulBackup(optsopt)

Required OAuth scopes:
- homey.system

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