Sorry, I should have read the other posts in that thread before I post the "issue" that the two of you discussed 4 years ago.
I embedded the scriptcode in json. It is valid jason (correctly escaped) according to **External links are only visible to Support Staff**... - however jd refused to accept it:
„Sorry, failed to set new value“
Quote:
[{"eventTrigger":"BEFORE_A_RECONNECT",
"enabled":true,
"name":"Script",
"script":"if (callAPI("update", "isUpdateAvailable")) callAPI("update", "restartAndUpdate");",
"eventTriggerSettings":{}}]
|