update_activity_sequence
Update an activity's power on and off sequences using command or delay steps, validated against included entities.
Instructions
Replace an activity's on and/or off power sequence. Steps are {"type":"command","command":{"entity_id","cmd_id","params"?}} or {"type":"delay","delay":}. Omitted sequence = unchanged; empty list clears it. Command steps are validated against the activity's included entities. Defaults to dry_run=True; auto-backup before any real write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"activity_id": "<activity_id>"
},
"name": "update_activity_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| dry_run | No | ||
| activity_id | Yes | ||
| on_sequence | No | ||
| off_sequence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||