Documentation
MaintainAction
Require: IP-Symcon >= 4.0
void MaintainAction (string $Ident, boolean $ActivateAction)
Parameters
Ident | Ident of the variable |
ActivateAction | Enable if True, Disable if False |
Returns
No Return
Description
With ActivateAction == True the function calls EnableAction and with ActivateAction == False the function DisableAction with the Ident Ident.
Example
// We only have an action if the device type == 5
$this->MaintainAction("SpecialData", $this->ReadPropertyInteger("DeviceType") == 5);