ph_enabletrigger PowerHome formula function
Description
Enables a disabled PowerHome trigger.
Syntax
ph_enabletrigger ( )
ph_enabletrigger ( as_id )
Argument Description
as_id String (Optional). The ID of the trigger you wish to enable. If this parameter is omitted, the system variable TRIGGER will be used for ID
Return value
Integer. Returns a 0
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_enabletrigger("LIVROOM_OFF")
• ph_enabletrigger("[TEMP2]") --> where TEMP2 contains a valid trigger ID