protected override void Execute_HomeAutomationDefinition(HomeAutomationCommandContext context) { var interpreter = context.Interpreter; var networks = context.Networks; interpreter.WriteEvent("Searching for Z-Wave network adapater..."); var network = new ZWaveNetwork(new HomeAutomationNetworkContext(context.Engine, context.ThreadPool)); networks.Add(network); interpreter.WriteEvent("Done."); }