HomeyAPI~ManagerPresence

Methods

async getPresent(optsopt)

Required OAuth scopes:
- homey.presence.readonly

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

async setPresent(optsopt)

Required OAuth scopes:
- homey.presence

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

async setPresentMe(optsopt)

Required OAuth scopes:
- homey.presence.self

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

async getAsleep(optsopt)

Required OAuth scopes:
- homey.presence.readonly

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

async setAsleep(optsopt)

Required OAuth scopes:
- homey.presence

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

async setAsleepMe(optsopt)

Required OAuth scopes:
- homey.presence.self

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

Classes

Error