public HSPI() { //Initialize the plugin //Enable internal debug logging to console LogDebug = true; //Setup anything that needs to be configured before a connection to HomeSeer is established // like initializing the starting state of anything needed for the operation of the plugin //Such as initializing the settings pages presented to the user (currently saved state is loaded later) InitializeSettingsPages(); //Or adding an event action or trigger type definition to the list of types supported by your plugin ActionTypes.AddActionType(typeof(WriteLogSampleActionType)); TriggerTypes.AddTriggerType(typeof(SampleTriggerType)); }