hub.scenes.block.status.reset
- Version: 1.0
- Feature version:
Updated in : “blockId” param was made optional. - Classes: UI
- Description: Reset a current status of a condition block to the state. The method is intended to reset a status of previously latched when block to state.
The parameter should point to a LATCH function block when specified. The param can be omitted, in this case the command will reset all LATCH function blocks in the scene.
Edit
Field | Type | Required | Description |
---|---|---|---|
sceneId | string | + | A scene identifier |
blockId | string | – | An identifier of a LATCH function when block |
Edit
Code | Message | Data |
---|---|---|
-32600 | Bad request, does not exist | |
-32500 | The scene with this id does not exist | |
-32500 | Scene block does not exist | |
-32603 | Internal operation error |
Edit
{
"id":"_ID_",
"jsonrpc":"2.0",
"method":"hub.scenes.block.status.reset",
"params":{
"sceneId": "_SCENE_ID_",
"blockId": "_BLOCK_ID_"
}
}
Edit
Empty or error