Public Function ConditionUI(cond_numb As Short) As String
Conditions are perhaps the easiest to support in a plug-in. If SupportsConditionUI returns True to HomeSeer, then HomeSeer will call this procedure repeatedly, incrementing the cond_numb each time, until your plug-in returns an empty string.
Conditions can ONLY have two controls per condition, so for example if you wanted to provide conditions that determine whether a security panel is armed or not, you might build the condition like this:
First Control is the condition type: Panel Status
Second Control is the condition: Is Armed, Is Disarmed
Here is a sample ConditionUI providing two conditions to a plug-in:
See Also