You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››

Homey.InsightsLog

const { InsightsLog } = require('homey');

This class represents a Log in Insights. This class should not be instanced manually, but retrieved using a method in ManagerInsights instead.

Table of Contents

Methods

createEntry(value, deprecatedopt, callbackopt) → {Promise}

Create an entry (logged value).

Parameters:
Name Type Attributes Description
value number | boolean
deprecated null <optional>

This argument is unused, pass null if you want to use a callback

callback genericCallbackFunction <optional>
Returns:
Type:
Promise