HomeyAPI~ManagerEnergy

Since:
  • 3.0.0

Methods

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

Required OAuth scopes:
- homey.insights.readonly

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

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

Required OAuth scopes:
- homey.system

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

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

Required OAuth scopes:
- homey.system.readonly

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

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

Required OAuth scopes:
- homey.system

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

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

Required OAuth scopes:
- homey.system.readonly

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

Classes

Error