Update event script
update_eventUpdate a Domoticz event by providing its ID, new name, interpreter, type, and source script. Requires explicit confirmation to apply changes.
Instructions
Update script. Cross-ref: domoticz://event/{event_id}. Requires confirm=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event script name | |
| confirm | No | Explicitly confirm this high-impact operation | |
| event_id | Yes | Canonical Domoticz event ID | |
| event_type | Yes | Domoticz event type | |
| eventstatus | No | 1 to enable the event, 0 to disable it | 1 |
| interpreter | Yes | Domoticz event interpreter | |
| xmlstatement | Yes | Replacement event source or Blockly XML |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |