SetFunctionDerogation
SetFunctionDerogation(FuncName AS STRING, Type AS INTEGER [, Status AS STRING, Seconds AS INTEGER, bIncludeChildren AS BOOL]) AS INTEGER
Set function in derogation.
Type: 0=reset, 1=for a duration, -1=infinitely, -2=until the next same state.
By default, bIncludeChildren is false.