@espressif/rainmaker-base-cdf
    Preparing search index...

    Indexable

    • [key: string]: any
    Index

    Constructors

    Properties

    afterSetAutomationListHook: (automations: ESPAutomation[]) => void = ...
    beforeSetAutomationListHook: (automations: ESPAutomation[]) => void = ...

    Accessors

    _daylightAutomations: any
    _geoCoordinates: any
    _hasNext: any
    _nodeAutomations: any
    _weatherAutomations: any

    Methods

    • Adds a property to the store dynamically.

      Parameters

      • propertyName: string

        The name of the property to add.

      • initialValue: any

        The initial value of the property.

      Returns void

    • Deletes automations from the store.

      Parameters

      • ids: string[]

        Array of automation IDs to delete.

      Returns Promise<void>

    • Sets the automation list with pre- and post-processing hooks.

      Parameters

      • automationList: ESPAutomation[]

        The list of automations to set.

        GPT Context: This function allows developers to inject custom logic before and after setting the automation list.

      Returns void