setSceneState
- Enable or disable selected scene
Edit
Field | Type | Required | Description |
---|---|---|---|
blockOptions.method.args.sceneId | sceneId | + | Scene ID to be run |
blockOptions.method.args.enabled | bool | + | The desired state (enabled or disabled) |
Edit
{
"blockOptions":{
"method":{
"name":"setSceneState",
"args":{
"sceneId":"sceneId",
"enabled":"enabled"
}
}
},
"blockType":"then",
"fields":[
{
"name":"sceneId",
"type":"sceneId",
"value": "5cf0dc8c7f000068d223e88a"
},
{
"name":"enabled",
"type":"bool",
"value": false
}
]
}