Preparing search index...
The search index is not available
@espressif/rainmaker-base-sdk
@espressif/rainmaker-base-sdk
utils/automation
automationActionToPayload
Function automationActionToPayload
automationActionToPayload
(
action
:
ESPAutomationAction
,
)
:
{
node_id
:
string
;
params
:
Record
<
string
,
Record
<
string
,
any
>
>
}
Maps a consumer-facing automation action to the backend payload shape.
Parameters
action
:
ESPAutomationAction
Returns
{
node_id
:
string
;
params
:
Record
<
string
,
Record
<
string
,
any
>
>
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@espressif/rainmaker-base-sdk
Loading...
Maps a consumer-facing automation action to the backend payload shape.