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.
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 | |||