I've got a trigger with a few sub-triggers which can all be conditions, but I'd like to show a different string for the sub-trigger names depending on whether the trigger is presently a condition, since the triggers fire when state changes but conditions check present state. I've looked at all the properties and methods available in AbstractTriggerType but I haven't found any way to check whether the currently configured trigger is a condition or not. Is this possible?
Announcement
Collapse
No announcement yet.
Any way to tell if a trigger is a condition?
Collapse
X
-
there is a property that indicates if the trigger can also be used as condition
Code:Public Overrides ReadOnly Property CanBeCondition As Boolean Get Return False End Get End Property
Mark
HS3 Pro 4.2.17.0
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3| Ultra1Wire3 | RFXCOM | NetCAM | HS MyQ | BLRadar | BLDenon | Jon00 Charting | Jon00 Links
Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory
- Likes 1
Comment