Interface representing an automation action: target node and per-device parameter maps

{
* nodeId: "123",
* deviceParams: {
* "Light": {
* "Power": true,
* "Brightness": 50,
* },
* },
* }
interface ESPAutomationAction {
    deviceParams: Record<string, Record<string, any>>;
    nodeId: string;
}

Properties

Properties

deviceParams: Record<string, Record<string, any>>
nodeId: string